Owner manual

Table 2 Management operations (continued)
NSMQ SupportDescriptionOperations
NSMQ
Management
Object
(Mbean)
YesCopies a message, with the given
JMS message ID, to the specified
destination.
copyMessageTo(String messageId, String
destinationName)
YesCopies messages to the specified
destination based on an SQL-92
copyMatchingMessagesTo(String selector,
String destinationName)
selection on the message headers
or XPATH on the body.
YesCopies up to a specified number of
messages to the specified
copyMatchingMessagesTo(String
selector,String destinationName,
maximumMessages) destination based on an SQL-92
selection on the message headers
or XPATH on the body.
YesMoves a message, with the given
JMS message ID, to the specified
destination.
moveMessageTo(String messageId, String
destinationName)
YesMoves up to a specified number of
messages to the specified
moveMatchingMessagesTo(String selector,
String destinationName,
maximumMessages) destination based on an SQL-92
selection on the message headers
or XPATH on the body.
YesMoves messages to the specified
destination based on an SQL-92
moveMatchingMessagesTo(String selector,
String destinationName)
selection on the message headers
or XPATH on the body.
YesMoves a message, with the given
JMS message ID, to its original
destination.
retryMessage(String messageId)
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()
YesDisplays an array of all messages
in the destination based on an
browse(String selector)
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.
browseAsTable()
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()
34 Managing NSMQ