Sun Java System Message Queue 4.2 Release Notes

ConsumerManager Monitor MBean

The attributes, operations, and lookup keys in the following tables support the feature described in Multiple Destinations for a Publisher or Subscriber.

The name of the following attribute is defined as static constants in the utility class com.sun.messaging.jms.management.server.ConsumerAttributes.

Table 1–10 ConsumerManager Monitor Attributes

Name 

Type 

Settable? 

Description 

NumWildcardConsumers

Integer

No 

Number of wildcard message consumers associated with the broker 

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

Table 1–11 ConsumerManager Monitor Operations

Name 

Parameters 

Result Type 

Description 

getConsumerWildcards

none 

String[]

Wildcard strings used by current consumers associated with the broker 

getNumWildcardConsumers

wildcard-String 

Integer

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

The following lookup keys are defined as static constants in the utility class com.sun.messaging.jms.management.server.ConsumerInfo.

Table 1–12 Lookup Keys for Message Consumer Information

Name 

Value Type 

Description 

DestinationNames

String[]

Destination names that match wildcards used by wildcard consumers 

For topic destinations only. 

Wildcard

Boolean

Wildcard consumer? 

For topic destinations only.