HP Integrity NonStop H-Series User Manual
Page 37
![background image](/manuals/397480/37/background.png)
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 Browse options
Description
Usage: {broker-name}.sh browse
Prints the message header, custom message header, and
message body of all messages in the specified queue or topic.
{broker-name}.sh browse
Prints only the message header and message body of all
messages in the specified queue.
{broker-name}.sh browse -Vheader,body
queue:
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:
Prints all the message fields that has:
{broker-name}.sh browse --msgsel
JMSMessageID='*:10',JMSPriority>5
•
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