Hi, 

  In my implementation i have some 30 to 40 xsl files. So i have to route
the input message to any one of the xsl based on the input element. 

This is my input message., 
<xml><value>ABCD</value><name>Sathiya</name></xml>

I have a xsl file with name., ABCD-Req.xsl 

My current Implementation., 

<route>
<from uri="inputlocation">
<setProperty name="value">
<xpath>/xml/value/text()</xpath>
</setProperty>

<to uri="xslt:.../${property.value}-Req.xsl/>
</route>

This is not working. as the file language does not supports simple language. 

I have also tried recipientlist simple language is working there but in my
implementation it should pick from exchange property as given above,

<camel:recipientList>
<camel:simple>xslt://${property.value}-Req.xsl</camel:simple>
</camel:recipientList>

Is there any other way to do this. 

Thanks in advance.. 
Sathiyaraja P



--
View this message in context: 
http://camel.465427.n5.nabble.com/Dynamic-routing-to-a-XSL-file-tp5759884.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to