beautypg.com

HP Integrity NonStop H-Series User Manual

Page 35

background image

Table 2 Management operations (continued)

NSMQ Support

Description

Operations

NSMQ
Management
Object
(Mbean)

No

A 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.

Yes

Sends a text message to the
destination.

sendTextMessage(String body)

Yes

Sends a text message to a
password-protected destination.

sendTextMessage(String body, String user,
String password)

Yes

Destroys the specified subscription.

destroy()

Subscription

Yes

Displays an array of all messages
in the destination.

browse()

Yes

Displays a list of all messages in the
destination.

browseAsTable()

Yes

Number of messages available to
be paged in by the cursor.

cursorSize()

No

Message cursor has buffered
messages to deliver.

doesCursorHaveMessagesBuffered()

Yes

Checks if the message cursor has
memory space available and returns
true or false.

doesCursorHaveSpace()

No

Returns true if the subscription
matches the given queue name.

isMatchingQueue(String p1)

Yes

Returns true if the subscription
matches the given topic name.

isMatchingTopic(String p2)

Yes

Displays 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.

Yes

Displays an array of all messages
in the destination.

browse()

Yes

Displays 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.

Yes

Resets statistics.

resetStatistics()

No

A list of all messages in the
destination.

browseMessages()

No

A 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.

Yes

Sends a text message to the
destination.

sendTextMessage(String body)

Yes

Sends a text message to a
password-protected destination.

sendTextMessage(String body, String user,
String password)

Monitoring activities

35

This manual is related to the following products: