Is there a way to tell Camel to use the Saxon library by default, so I would not need to specify it in every XLST transformation? E.g.:
.to("xslt:my-file.xsl?transformerFactoryClass=net.sf.saxon.TransformerFactoryImpl")
Specifying it in every endpoint makes code less readable.
I've seen suggestions (though in some other contexts) on setting environment property:
javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
Would this somehow be possible to be set within single camel context?
P.S. I am using Camel 2.10, so the saxon
parameter suggestion is unfortunately not an option yet...