I have a camel route working as follows:[code] from("subjectLine")              
         
.to("xslt:transformSubject.xsl?uriResolver=#emailResolver")                     
  
.to("fop:application/pdf")                        .process(email)               
        
.to("smtp://...");  [/code]Our customer has asked that we make the
stylesheet dynamic per each of the companies organizations.  I'm running the
problem when I try and make that stylesheet dynamic.  After reaching its
been said to try the following:[code]                        //
${header.CamelXsltResourceUri} =
http://localhost:8080/getStyleSheet/org123.xsl                       
.recipientList(simple("xslt:${header.CamelXsltResourceUri}?uriResolver=#resolver"))
                       
.to("fop:application/pdf")                        .process(email)               
        
.to("smtp://..."); [/code]However this does not work either.Any suggestions
on how I might overcome this issue?Thanks!



--
View this message in context: 
http://camel.465427.n5.nabble.com/Dynamic-xsl-with-custom-uri-resolver-tp5736668.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to