I need to run a test on a remote host that has activeMQ running on it and I want to verify if the name of the queue is the right name by comparing it with a local file. I used bstat to get the status of activeMQ and then greped the part that has destionName but I was wondering if there is a better way to do it through command line or shell not java?
You could use the command line tool "a".
a -b tcp://remote-broker-hostname:61616 --list-queues
would print
Queues:
Queue4
DELAYED
ChatMessages
Operation completed in 22ms (excluding connect)
It's written in java.
Disclaimer: I'm the author of that tool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With