Sun Java System Message Queue 4.2 Release Notes

Destination Monitor MBean

The first set of attributes in the following table support the feature described in Multiple Destinations for a Publisher or Subscriber and the second set of attributes support the enhancement described in New Destination Metrics.

The names of the following attributes are defined as static constants in the utility class com.sun.messaging.jms.management.server.DestinationAttributes.

Table 1–14 Destination Monitor Attributes

Name 

Type 

Settable? 

Description 

NumWildcardProducers

Integer

No 

Current number of wildcard message producers associated with the destination 

For topic destinations only. 

NumWildcardConsumers

Integer

No 

Current number of wildcard message consumers associated with the destination 

For topic destinations only. 

NumWildcards

Integer

No 

Current number of wildcard message producers and wildcard message consumers associated with the destination 

For topic destinations only. 

NumMsgsRemote

Long

No 

Current number of messages stored in memory and persistent store that were produced to a remote broker in a cluster. This number does not include messages included in transactions. 

TotalMsgBytesRemote

Long

No 

Current total size in bytes of messages stored in memory and persistent store that were produced to a remote broker in a cluster. This value does not include messages included in transactions. 

The operations in the following table support the feature described in Multiple Destinations for a Publisher or Subscriber.

The names of the following operations are defined as static constants in the utility class com.sun.messaging.jms.management.server.DestinationOperations.

Table 1–15 Destination Monitor Operations

Name 

Parameters 

Result Type 

Description 

getConsumerWildcards

none 

String[]

Wildcard strings used by current consumers associated with the destination 

For topic destinations only. 

getProducerWildcards

none 

String[]

Wildcard strings used by current producers associated with the destination 

For topic destinations only. 

getWildcards

none 

String[]

Wildcard strings used by current consumers and producers associated with the destination 

For topic destinations only. 

getNumWildcardConsumers

wildcard-String 

Integer

Number of current consumers associated with the destination that are using the specified wildcard string 

For topic destinations only. 

getNumWildcardProducers

wildcard-String 

Integer

Number of current producers associated with the destination that are using the specified wildcard string 

For topic destinations only.