Owner manual
Table 2 Management operations (continued)
NSMQ SupportDescriptionOperations
NSMQ
Management
Object
(Mbean)
NoA list of all messages in the
destination based on an SQL-92
browseMessages(String p1)
selection on the message headers
or XPATH on the body.
YesSends a text message to the
destination.
sendTextMessage(String body)
YesSends a text message to a
password-protected destination.
sendTextMessage(String body, String user,
String password)
YesDestroys the specified subscription.destroy()
Subscription
YesDisplays an array of all messages
in the destination.
browse()
YesDisplays a list of all messages in the
destination.
browseAsTable()
YesNumber of messages available to
be paged in by the cursor.
cursorSize()
NoMessage cursor has buffered
messages to deliver.
doesCursorHaveMessagesBuffered()
YesChecks if the message cursor has
memory space available and returns
true or false.
doesCursorHaveSpace()
NoReturns true if the subscription
matches the given queue name.
isMatchingQueue(String p1)
YesReturns true if the subscription
matches the given topic name.
isMatchingTopic(String p2)
YesDisplays an array of all messages
in the destination based on an
browse(String selector)
Topic
SQL-92 selection on the message
headers or XPATH on the body.
YesDisplays an array of all messages
in the destination.
browse()
YesDisplays a list of all messages in the
destination based on an SQL-92
browseAsTable(String selector)
selection on the message headers
or XPATH on the body.
YesResets statistics.resetStatistics()
NoA list of all messages in the
destination.
browseMessages()
NoA list of all messages in the
destination based on an SQL-92
browseMessages(String p1)
selection on the message headers
or XPATH on the body.
YesSends a text message to the
destination.
sendTextMessage(String body)
YesSends a text message to a
password-protected destination.
sendTextMessage(String body, String user,
String password)
Monitoring activities 35