Apache Camel content based router



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://ift.tt/1zxPiiT"><aboneDurum>0</aboneDurum>
<aboneNo>00006439705</aboneNo>
</ns2:imaOkuma>


I want to route this xml according to aboneNo.


No comments:

Post a Comment