Sun Java System Message Queue 4.0 Developer's Guide for JMX Clients

Operations

The destination monitor MBean supports the operations shown in Table 2–41. The names of these operations are defined as static constants in the utility class DestinationOperations.

Table 2–41 Destination Monitor Operations

Name 

Parameters 

Return Type 

Description 

getConnection

None 

ObjectName

(Temporary destinations only) Object name of connection monitor MBean for connection

getProducerIDs

None 

String[]

Producer identifiers of all current associated message producers

getConsumerIDs

None 

String[]

Consumer identifiers of all current associated message consumers

For queue destinations, this operation returns both active and backup consumers. For topic destinations, it returns both nondurable and (active and inactive) durable subscribers.  

getActiveConsumerIDs

None 

String[]

Consumer identifiers of all current associated active message consumers

For topic destinations, this operation returns both nondurable and (active and inactive) durable subscribers.  

getBackupConsumerIDs

None 

String[]

(Queue destinations only) Consumer identifiers of all current associated backup message consumers