title: Camel: using Saxon by default
body: <p>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.:</p>
  
  <pre><code>.to("xslt:my-file.xsl?transformerFactoryClass=net.sf.saxon.TransformerFactoryImpl")
  </code></pre>
  
  <p>Specifying it in every endpoint makes code less readable.</p>
  
  <p>I've seen suggestions (though in some other contexts) on setting environment property:</p>
  
  <pre><code>javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
  </code></pre>
  
  <p>Would this somehow be possible to be set within single camel context?</p>
  
  <p>P.S. I am using Camel 2.10, so the <code>saxon</code> parameter suggestion is unfortunately not an option yet... </p>