You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mallesh Gorupati <mg...@iBASEt.com> on 2017/09/01 00:55:33 UTC
Active MQ 5.15.5 - Camel 2.19.1 - XSLT2.0 - Compilation Iusue
Hi
Error:
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[[From[{{camel.xslt.file.directory}}?delay={{ca... because of Error checking type of the expression 'funcall(current-dateTime,[])'.
Found Solution for JAVA DSL: I found a work around by copying camel-saxon.jar in the classpath but couldn't find any proper solution for Spring DSL/ActiveMq-camel configuration.
NO Solution for Spring DSL: I have tried following options but no luck..
1. <to uri="xslt:file:xsl/my.xsl?transformerFactory=tFactory" /> <bean > id="tFactory" class="net.sf.saxon.TransformerFactoryImpl" />
2. Env setup at camel-configuration file
<prop key="javax.xml.transform.TransformerFactory">net.sf.saxon.xpath.XPathFactoryImpl</prop>
Appreciate your help..
Thanks
Mallesh