|| at Jan 27, 2014 at 10:01 am
You can use dynamic router feature of camel. Read the documentation carefully as not returning null means it will loop infinitely.http://camel.apache.org/dynamic-router.html
Sent: Monday, January 27, 2014 2:51 PM
Subject: Content based routing
How can route my message which is a pojo based on a specific attribute
value of it?
For eg ,
suppose that I have a have class A which has an attribute 'action' , I need
to route my message based on the value of 'action' .
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful.