Each broker has a single consumer manager configuration MBean, used for configuring all of the broker's message consumers.
The consumer manager configuration MBean has the following object name:
com.sun.messaging.jms.server:type=ConsumerManager,subtype=Config
A string representing this object name is defined as a static constant CONSUMER_MANAGER_CONFIG_MBEAN_NAME in the utility class MQObjectName.
The consumer manager configuration MBean has the attribute shown in Table 3–59. The name of this attribute is defined as a static constant in the utility class ConsumerAttributes.
Table 3–59 Consumer Manager Configuration Attribute
Name |
Type |
Settable? |
Description |
---|---|---|---|
Integer |
No |
Current total number of message consumers |
The consumer manager configuration MBean supports the operations shown in Table 3–60. The names of these operations are defined as static constants in the utility class ConsumerOperations.
Table 3–60 Consumer Manager Configuration Operations