camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sathiyaraja <sathiyaraja1...@hotmail.com>
Subject Dynamic routing to a XSL file
Date Mon, 01 Dec 2014 01:44:30 GMT
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.

Thanks in advance..
Sathiyaraja P



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

Mime
View raw message