The broker monitor MBean supports the notifications shown in Table 3–5. These notifications are instances of the Message Queue JMX classes BrokerNotification and ClusterNotification, and their names are defined as static constants in those classes.
Table 3–5 Broker Monitor Notifications
Name |
Utility Constant |
Description |
---|---|---|
Broker has begun shutting down |
||
Broker has begun quiescing |
||
Broker has finished quiescing |
||
Broker has begun taking over persistent data store from another broker |
||
Broker has finished taking over persistent data store from another broker |
||
Attempted takeover has failed |
||
Broker’s resource state has changed |
||
Broker has joined a cluster |
Table 3–6 shows the methods defined in class BrokerNotification for obtaining details about a broker monitor notification. See Table 3–83 for the corresponding methods of class ClusterNotification.
Table 3–6 Data Retrieval Methods for Broker Monitor Notifications