2 Replies Latest reply on Jul 24, 2008 12:56 AM by Gert Vanthienen

    Using XSLT component with XSL template passed as input message attachment

    Sergey Rodovinsky Newbie

      Hi,

       

      I am building a Camel route where I want to use XSLT component to transform the IN message. I am using Camel client template where I create a message, set XML string into the message body, and add attachment with XSL string.

       

      Is there any way to pass that attachment as a template to XSLT componentDSL Camel Route? e.g. from("activemq:test").to("xslt:"+???); ?

       

      All the examples have file or classpath file or HTML.

       

      Thanks,

      Sergey