I'm using the UNIX commands that ActiveMQ provides for browsing the queues, and I'm trying to browse a particular queue, specifying a JMS selector. This is what I'm trying to do:
./activemq browse --amqurl tcp://host:port --msgsel "JMSMessageID='ID:XXXX'" QUEUE.FOO
Selecting by JMSMessageID, doesn't work.
Then, I would like to do some filtering by JMSText, matching any string. The problem here is that the messages are XML, and maybe I would need to handle the special chars.
./activemq browse --amqurl tcp://host:port --msgsel "JMSText='*<anyTag>SOMEVALUE</anyTag>*'" QUEUE.FOO
Has anyone did some filtering like that? having the messages matching any string?