Try with #

<to uri="xslt:foo.xsl?transformerFactory=#SaxonEE" />

See more here about # syntax
http://camel.apache.org/how-do-i-configure-endpoints.html

On Thu, Dec 31, 2015 at 4:03 PM, Thomas Freihalter
<thomas.freihal...@my-box.de> wrote:
> Hello,
>
> To integrate SaxonEE into Camel
> in Version 2.14.3 I used this workaround:
>
> camel-saxon  not installed
> wrap:mvn:saxon/saxonee/9.5.1.8 (Saxon9ee.jar with valid license)
> ...
> <bean id="SaxonEE" class="com.saxonica.config.EnterpriseTransformerFactory"
> />
> ...
> <to uri="xslt:foo.xsl?transformerFactory=SaxonEE" />
> ...
>
> this worked fine.
>
> Now I migrated to 2.16.1
> and I receive the following error-message:
>
> Could not find a suitable setter for property: transformerFactory
> as there isn't a setter method with same type: java.lang.String
> nor type conversion possible: No type converter available to convert from
> type: java.lang.String
> to the required type: javax.xml.transform.TransformerFactory with value
> SaxonEE
>
> Do you have any ideas how to solve this?
>
> Thanks and Regards
> Thomas
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/SaxonEE-Camel-Integration-tp5775644.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to