0 Replies Latest reply on Oct 19, 2014 10:35 AM by Mylos Kathos

    Selector not filtering messages for a Queue

    Mylos Kathos Master

      Hi all!

      I have registered a JMS Queue with a selector in it. I can see that however no filter is applied on the Queue (i.e. the consumer receives every message which is sent over the Queue).

      Here is my Queue definition:

      <jms-queue name="DemoQueue">
                   <entry name="java:/jms/queue/demoQueue"/>
                   <selector string="country='US'"/>

      The consumer receives every message (both those with country='US' and country='other').

      Is it a bug or my understanding of the selector is not correct ?

      BTW I'm using WildFly 8.1.0