Owner manual

Figure 5 Browse command
The browse command can also be executed with various options. Each option filters the messages
before displaying them. The options and their descriptions are shown in Table 3:
Table 3 Browse options
Description
Usage: {broker-name}.sh browse <options>
<destination>
Prints the message header, custom message header, and
message body of all messages in the specified queue or topic.
{broker-name}.sh browse <destination>
Prints only the message header and message body of all
messages in the specified queue.
{broker-name}.sh browse -Vheader,body
queue:<destination>
Prints the message header and the custom field 'MyField' of
all messages in the specified queue.
{broker-name}.sh browse -Vheader --view
custom:MyField queue:<destination>
Prints all the message fields that has:{broker-name}.sh browse --msgsel
JMSMessageID='*:10',JMSPriority>5
<destination>
A JMSMessageID in the header field that matches the
wildcard *:10
A JMSPriority field > 5 in the specified queue or topic
NOTE: To use wildcard queries, the field must be a string
and the query enclosed in ''.
Monitoring activities 37