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

Operations

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

Table 3–41 Destination Monitor Operations

Name 

Parameters 

Result Type 

Description 

getConnection [Temporary destinations only]

None 

ObjectName

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 [Queue destinations only]

None 

String[]

Consumer identifiers of all current associated backup message consumers