Message Selector

View: New views
2 Messages — Rating Filter:   Alert me  

Message Selector

by Nawaz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

     I  went through the Message Selectors concept available in the
following link:

     http://activemq.apache.org/selectors.html

 

    I have doubt regarding the message Selector expression:  

    I want to know which expressions are supported by the ActiveMQ
Message Selectors . I have tried the following Expression like

    IN , NOT IN, LIKE , IS NOT NULL, IS NULL, AND,OR, _ , %,=,>,<,>=,<=

 

   Among these above operators only following Operators works well:

   =,>,<,>=,<=,IS NOT NULL, IS NULL,  AND,OR

     

   And the remaining following operators does not work as expected:

   IN , NOT IN, LIKE_, %,BETWEEN

     

   Could anybody Tell me Which operators are supported by ActiveMQ
Message Selector?

 

Thanks and Regards,

Nawaz Ahmed

Progress Software Development Pvt Ltd

Phone (Office): +91. 040. 40082156

Mobile  +91- 9000322253

nawaz.ahmed@... <mailto:nawaz.ahmed@...>

 


Re: Message Selector

by Gary Tully :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

best place to look is at the tests, one example is here:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java?view=log


2009/7/2 Nawaz Ahmed <naahmed@...>

> Hi,
>
>     I  went through the Message Selectors concept available in the
> following link:
>
>     http://activemq.apache.org/selectors.html
>
>
>
>    I have doubt regarding the message Selector expression:
>
>    I want to know which expressions are supported by the ActiveMQ
> Message Selectors . I have tried the following Expression like
>
>    IN , NOT IN, LIKE , IS NOT NULL, IS NULL, AND,OR, _ , %,=,>,<,>=,<=
>
>
>
>   Among these above operators only following Operators works well:
>
>   =,>,<,>=,<=,IS NOT NULL, IS NULL,  AND,OR
>
>
>
>   And the remaining following operators does not work as expected:
>
>   IN , NOT IN, LIKE_, %,BETWEEN
>
>
>
>   Could anybody Tell me Which operators are supported by ActiveMQ
> Message Selector?
>
>
>
> Thanks and Regards,
>
> Nawaz Ahmed
>
> Progress Software Development Pvt Ltd
>
> Phone (Office): +91. 040. 40082156
>
> Mobile  +91- 9000322253
>
> nawaz.ahmed@... <mailto:nawaz.ahmed@...>
>
>
>
>


--
http://blog.garytully.com

Open Source Integration
http://fusesource.com