http://www.pretechsol.com/2013/11/camel-selective-consumer-using-jms.html#.UnUWLxAVuPA
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-selector-example-tp5713805p5742545.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Awesome :)
On Mon, Jun 4, 2012 at 10:42 AM, Deepthi wrote:
> Its working.
> Changed exchange.getIn().setHeader("country", "US");
>
> to exchange.getOut().setHeader("country", "US");
>
> Thanks,
> Deepthi
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Message-selec
Its working.
Changed exchange.getIn().setHeader("country", "US");
to exchange.getOut().setHeader("country", "US");
Thanks,
Deepthi
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-selector-example-tp5713805p5713959.html
Sent from the Camel - Users mailing list arch
K, that helps. :)
Try adding after the
bean processor and then 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,
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:
I do not receive any message at all.
Where am i going wrong here?
--
View this message in context:
http://camel.465427.n5.nabble.c
An example of how to use Java JMS message selectors?
Start here: http://docs.oracle.com/javaee/5/tutorial/doc/bnceh.html#bncer
On Thu, May 31, 2012 at 4:10 PM, Deepthi wrote:
> Hi Sully,
>
> I did go through the link.
> Can I find an example somewhere which I can refer to how i use selectors
>
Hi Sully,
I did go through the link.
Can I find an example somewhere which I can refer to how i use selectors and
how do i compare the values etc.
Thanks,
Deepthi
--
View this message in context:
http://camel.465427.n5.nabble.com/Message-selector-example-tp5713805p5713808.html
Sent from the Cam
Full details can be found here: http://camel.apache.org/jms.html. Review
the section labeled Message Header Mapping.
WRT how to name the message headers you have to follow standard JMS rules
or Java naming conventions meaning: no dots or hyphens in the header name.
Then set the header on the prod