There are good examples of this in "Camel in Action" book, chapter 2.5

cheers,
Bilgin Ibryam

On Sun, Oct 16, 2011 at 5:59 PM, newbiee <m_ess...@hotmail.com> wrote:
> Suppose I have following two messages:
>
>
> Message 1:
> <?xml version="1.0" encoding="UTF-8"?>
> <order name="motor" amount="1" customer="honda" application="a"/>
>
>
> Message 2:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <order name="motor" amount="1" customer="honda" application="b"/>
>
> I want to route message to queue "application A" or to queue "application B"
> based on the application value in the message. How can I get to the
> application value in the message?
>
> Thank you
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/reading-Message-for-content-based-routing-tp4907281p4907281.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>

Reply via email to