K, that helps. :)

Try adding <camel:to uri="log:test.post.bean?showAll=true" /> after the
bean processor and then <camel:to uri="log:test.post.producer?showAll=true"
/> after the JMS producer endpoint responsible for sending the bean created
message on to TestQueue6.

Then review your logging output and find the Exchanges that are logged from
"test.post.bean" and "test.post.producer".  When you do, post them up here
so we can take a look at them.


On Thu, May 31, 2012 at 5:20 PM, Deepthi <deepthi...@gmail.com> wrote:

> In my bean I am setting the header as follows:
> exchange.getIn().setHeader("country", "US");
>
> i am trying to filter the message using selector in following manner:
> <camel:from uri="jms:queue:TestQueue6?selector=country='US'" />
>
> I do not receive any message at all.
> Where am i going wrong here?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Message-selector-example-tp5713805p5713811.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
-- 
Scott England-Sullivan
----------------------------------
FuseSource
Web:     http://www.fusesource.com
Blog:     http://sully6768.blogspot.com
Twitter: sully6768

Reply via email to