Suppose I have following message in queue:
<error>
<service>
 serviceA
</service>
<request>
changePassword
<request>
</error>

How can I make a routing like this:
1)If my <service> tag contains serviceA send <request> it to httpConsumer1
2)If my <service> tag contains serviceB send <request> it to httpConsumer2

How to do it in DSL?



-- 
View this message in context: 
http://www.nabble.com/How-to-route-using-java-DSL--tp18528825s22882p18528825.html
Sent from the Camel - Development mailing list archive at Nabble.com.

Reply via email to