Owner manual
In addition to this, you can manage a single instance of broker through command line utility on
NonStop systems for the following tasks:
• Browse
• Query
• Purge
NOTE: To use these commands, JMX must be enabled for the broker. By default, creating a
broker in NSMQ enables JMX. If you have accidentally or intentionally disabled JMX, you must
enable it before using these commands.
Browsing a specified destination
In NSMQ, queues and topics represent destinations. You can browse for messages in a queue or
topic using the browse command.
To browse a specified destination:
1. Log on to NSMQ.
2. Go to the <NSMQ-Installation-folder>/<broker_name>/bin directory.
This folder contains the <broker_name>.sh script.
3. Run the command:
<broker_name>.sh browse <destination>
where <destination> is a queue or a topic name.
This command displays all the messages in the specified destination.
Following is an example of the browse command:
36 Managing NSMQ