Sorry this is the dev mailing list, please post such questions about using 
Camel to the user list.

On 16 Oct 2011, at 7:27 PM, Taariq Levack <taar...@gmail.com> wrote:

> Hi
> 
> XPath[1] is a good option here.
> 
> [1] http://camel.apache.org/xpath.html
> 
> Taariq
> 
> On 16 Oct 2011, at 6: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