Check the unit tests of camel-jms to see some samples.
On Thu, Oct 21, 2010 at 7:22 AM, Norman wrote:
> Hi there,
>
> you need to pass the "=" as "%3D" as stated in the component docs.
>
>
> See:
> http://camel.apache.org/jms.html
>
> So it would be:
>
> from("activemq:queue:somequeue?selector=c
Hi there,
you need to pass the "=" as "%3D" as stated in the component docs.
See:
http://camel.apache.org/jms.html
So it would be:
from("activemq:queue:somequeue?selector=clientid %3D
'someid'").to(someOtherQueue)
Bye,
Norman
Am 20.10.2010 22:19, schrieb Hossein:
Hello,
Using camel 2.2
Hi Hossein,
Before Camel 2.3.0, we don't support the selector in CamelConsumerTemplate.
Anyway the selector option is an SQL92 predicate. Some character such as
= should be encoded as %30 to be interpreted by Camel.
Regards
JB
On 10/20/2010 10:19 PM, Hossein wrote:
Hello,
Using camel 2.2,
uot;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-tp3229317p322