You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Thomas Freihalter <th...@my-box.de> on 2015/12/31 16:03:43 UTC
SaxonEE/Camel Integration
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.
Re: SaxonEE/Camel Integration
Posted by Thomas Freihalter <th...@my-box.de>.
Hello Claus,
thanks a lot for your reply.
'#' was the solution for my problem.
best wishes for the New Year
Thomas
--
View this message in context: http://camel.465427.n5.nabble.com/SaxonEE-Camel-Integration-tp5775644p5775656.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: SaxonEE/Camel Integration
Posted by Claus Ibsen <cl...@gmail.com>.
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
<th...@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