3 Replies Latest reply on Jun 7, 2011 4:16 PM by Claus Ibsen

    camel-blueprint and xslt => cannot find xslt file on classpath

    Peter Thygesen Novice

      I have written a small bundle using camel blueprint and cannot get the xslt to work.

       

       

       

      <route>

        <from uri="activemq:queue:IMPORT.FTP.NEWFILE"/>

        <to uri="xslt:com/company/packagename/myxsltfile.xslt"/>

        <to uri="log:someothercomponents"/>

      </route>

       

      </camelContext>

      </blueprint>

       

      The xslt file is placed in resources/com/company/packagename

       

      Exception:

      java.io.FileNotFoundException: class path resource  com/company/packagename/myxsltfile.xslt cannot be opened because it does not exist

       

      Xslt component line 156 (camel-spring 2.6.0-fuse-01-09)

       

      Edited by: thygesen on Apr 12, 2011 11:22 AM

       

      Edited by: thygesen on Apr 12, 2011 11:23 AM

       

      Edited by: thygesen on Apr 12, 2011 11:24 AM