Seems like you need some content based routing using xpath.

http://camel.apache.org/content-based-router.html

On 3/02/2015 13:00, akotako wrote:
I made a camel route which contains an xml in an activemq queue.I want to
route this xml according to a content property.How can i reach and make
choice according to a property.I use spring dsl.My xml format like below:

<?xml version='1.0' encoding='UTF-8'?>
<ns2:imaOkuma
xmlns:ns2="http://service.cxf.ws.sep.bedas.com/";><aboneDurum>0</aboneDurum>
<aboneNo>00006439705</aboneNo>
</ns2:imaOkuma>
I want to route this xml according to aboneNo.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Content-Based-Router-tp5762351.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to