camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilgin Ibryam <bibr...@gmail.com>
Subject Re: reading Message for content based routing
Date Thu, 20 Oct 2011 09:58:20 GMT
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_essa24@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.
>

Mime
View raw message