Each broker has a single destination manager configuration MBean, used for managing all of the broker's destination configuration MBeans.
The destination manager configuration MBean has the following object name:
com.sun.messaging.jms.server:type=DestinationManager,subtype=Config
A string representing this object name is defined as a static constant DESTINATION_MANAGER_CONFIG_MBEAN_NAME in the utility class MQObjectName.
The destination manager configuration MBean has the attributes shown in Table 3–44. The names of these attributes are defined as static constants in the utility class DestinationAttributes.
Table 3–44 Destination Manager Configuration Attributes
The destination manager configuration MBean supports the operations shown in Table 3–45. The names of these operations are defined as static constants in the utility class DestinationOperations.
Table 3–45 Destination Manager Configuration Operations
Name |
Parameters |
Result Type |
Description |
---|---|---|---|
None |
ObjectName[] |
Object names of destination configuration MBeans for all current destinations |
|
destinationType (String) destinationName (String) destinationAttributes (AttributeList) |
None |
Create destination with specified type, name, and attributes The destinationType and destinationName parameters are required, but destinationAttributes may be null. See Table 3–46 for possible values of destinationType. The destinationAttributes list may include any of the attributes listed in Table 3–32 except Name and Type. The names of these attributes are defined as static constants in the utility class DestinationAttributes. |
|
destinationType (String) destinationName (String) |
None |
Create destination with specified type and name Equivalent to create(destinationType, destinationName, null). See Table 3–46 for possible values of destinationType. |
|
destinationType (String) destinationName (String) |
None |
Destroy destination See Table 3–46 for possible values of destinationType. |
|
pauseType (String) |
None |
Pause message delivery for all destinations See Table 3–47 for possible values of pauseType. |
|
None |
None |
Pause all message delivery for all destinations Equivalent to pause(DestinationPauseType.ALL). |
|
None |
None |
Resume message delivery for all destinations |
|
None |
None |
Compact all destinations Note – Only paused destinations can be compacted. |
Table 3–46 shows the possible values for the create and destroy operations' destinationType parameters. These values are defined as static constants in the utility class DestinationType.
Table 3–46 Destination Manager Configuration Type Values
Value |
Utility Constant |
Meaning |
---|---|---|
Queue (point-to-point) destination |
||
Topic (publish/subscribe) destination |
Table 3–47 shows the possible values for the pause operation's pauseType parameter. These values are defined as static constants in the utility class DestinationPauseType.
Table 3–47 Destination Manager Pause Types
Value |
Utility Constant |
Meaning |
---|---|---|
PRODUCERS |
Pause delivery from associated message producers |
|
CONSUMERS |
Pause delivery to associated message consumers |
|
ALL |
Pause all delivery |
The destination manager configuration MBean supports the notification shown in Table 3–48.
Table 3–48 Destination Manager Configuration Notification
Name |
Description |
---|---|
Attribute value changed |