[ https://issues.apache.org/activemq/browse/AMQ-745?page=comments#action_36392 ]
Adrian Co commented on AMQ-745: ------------------------------- Hi, I tried to reproduce the issue, but the in selector seems to work using the browse command. Im using the default out-of-the-box configuration. My test scenario includes: 1. start the default broker 2. run the producer example 3. run "browse --amqurl tcp://localhost:61616 TEST.FOO 4. Get a sample message ID 5. run "browse --amqurl tcp://localhost:61616 --msgsel "JMSMessageID='ID:Javacoola-1841-1150366504906-0:0:1:1:8'" TEST.FOO <one message is returned> 6. run "browse --amqurl tcp://localhost:61616 --msgsel "JMSMessageID IN ('ID:Javacoola-1841-1150366504906-0:0:1:1:8'") TEST.FOO <one message is returned> 7. run "browse --amqurl tcp://localhost:61616 --msgsel "JMSMessageID in ('ID:Javacoola-1841-1150366504906-0:0:1:1:8'") TEST.FOO <one message is returned> Could you provide more details on your test method? Maybe the message has been consumed/expired in between run? Did you run the "browse --amqurl tcp://zuul:61616 --msgsel "JMSMessageID='ID:zuul-45732-1149587838616-3:24:1:1:1'" queue:inbound" command after using IN to check if the message was still there? Thanks! Regards, Adrian Co > in message selector does not match messages > ------------------------------------------- > > Key: AMQ-745 > URL: https://issues.apache.org/activemq/browse/AMQ-745 > Project: ActiveMQ > Type: Bug > Components: Selector > Versions: 4.0 > Environment: Java 5.0 on Linux > Reporter: Jeff Martin > Assignee: Adrian Co > > > Using "in" as part of a message selector does not return any messages. > Example: > This returns one message > browse --amqurl tcp://zuul:61616 --msgsel > "JMSMessageID='ID:zuul-45732-1149587838616-3:24:1:1:1'" queue:inbound > This returns no messages > browse --amqurl tcp://zuul:61616 --msgsel "JMSMessageID in > ('ID:zuul-45732-1149587838616-3:24:1:1:1')" queue:inbound -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira