camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sammm <>
Subject Dynamic XSL from Content
Date Wed, 16 Jan 2013 11:53:00 GMT
i'm new to Camel and have seen the example etc and the 'How do I use dynamic
URI in To' posting and infor on Expressions etc.
What i need to do, and cant quite work out how to do, is use the content of
the XML i wish to transform to derive the name of the XSL to use.
Essentially i have an existing JBI setup which does this:

  <saxon:xslt service="cvsrx1_0:requests-xslt" endpoint="requests-xslt">

The above is routed/reference like this:

  <eip:static-routing-slip service="cvsrx1_0:routing-slip"
      <eip:exchange-target service="cvsrx1_0:requests-xslt" />
      <eip:exchange-target service="cvsrx1_0:rx-legacy-http" />
      <eip:exchange-target service="cvsrx1_0:responses-xslt" />

where 'routing-slip' is passed a SOAP message.

So, use Camel DSL i *think* i could do something like


Can i do this, i.e use an XPath expression to derive the name of the XSL
from the XML/SOAP?

I saw that from 2.9 a header can be set, maybe thats the way to go - again
can that be doen using DSL?

Thanks for the help


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message