Why it is not possible to filter messages with wildcard selector using activemq browse command ?
Issue
- Why the following command fails to run when the "msgsel" option is used as following:
activemq:browse --amqurl tcp://localhost:61616 --user admin --password admin --msgsel JMSMessageID='*:10' queue/testQ
- When executing the above command it throws the following exception:
ERROR: java.lang.RuntimeException: Failed to execute browse task. Reason: javax.jms.InvalidSelectorException: (JMSMessageID=*:10)
java.lang.RuntimeException: Failed to execute browse task. Reason: javax.jms.InvalidSelectorException: (JMSMessageID=*:10)
- It is not possible to filter messages with wildcard selector
Environment
- Red Hat JBoss A-MQ
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.