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 -----Original Message----- From: Muhzin [mailto:[email protected]] Sent: Monday, January 27, 2014 2:51 PM To: [email protected] Subject: Content based routing Hi all, 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' . -- BR Muhsin 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.
