Hello,

Using camel 2.2, I'm attempting to select only certain messages from queue
using the following:

from("activemq:queue:somequeue?selector=clientid='someid'").to(someOtherQueue)
where 
clientid was set using: exchange.getOut().setHeader("clientid", "someid")

Is above correct? For some reason, I don't get the filtered message and the
result is camel return ALL messages of the initial queue?

Thanks.
---
Hossein Amerkashi

-- 
View this message in context: 
http://camel.465427.n5.nabble.com/JMS-filtering-based-on-selector-tp3229317p3229317.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to