The broker monitor MBean supports the notifications shown in Table 2–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 2–5 Broker Monitor Notifications
Name |
Utility Constant |
Description |
---|---|---|
Broker has begun shutting down |
||
Broker has begun quiescing |
||
Broker has finished quiescing |
||
Broker has joined a cluster |
Table 2–6 shows the methods defined in class BrokerNotification for obtaining details about a broker monitor notification. See Table 2–83 for the corresponding methods of class ClusterNotification.
Table 2–6 Data Retrieval Methods for Broker Monitor Notifications
Method |
Return Type |
Description |
---|---|---|
String | ||
String |
Broker address, in the form hostName:portNumber Example: host1:3000 |