Hi Willem,

its listed in the jms component site (the one you linked)...

Most commonly used options:
selector         null    Sets the JMS Selector, which is an SQL 92 predicate
that is used to filter messages within the broker. You may have to
encode special characters such as = as %3D

Bye,
Norman


2010/3/8 Willem Jiang <willem.ji...@gmail.com>:
> Hi,
>
> It's look like camel-activemq[1] or camel-jms[2] don't support to specify
> the selector option in the URI.
>
> [1]http://camel.apache.org/activemq.html
> [2]http://camel.apache.org/jms.html
>
> Willem
>
> Norman Maurer wrote:
>>
>> Hi all,
>>
>> today I tried to use the message selector with activemq camel
>> component. But It seems to just return the message even if the message
>> does not match the selector I used this as uri:
>>
>> consumerTemplate.receiveNoWait("activemq:queue:myqueue?selector=NEXT_RETRY
>> < " + System.currentTimeMillis());
>>
>> Any idea ?
>>
>> Bye,
>> Norman
>>
>
>

Reply via email to