The service monitor MBean supports the notifications shown in Table 3–15. These notifications are instances of the Message Queue JMX classes ServiceNotification and ConnectionNotification, and their names are defined as static constants in those classes.
Table 3–15 Service Monitor Notifications
Name |
Utility Constant |
Description |
---|---|---|
Service paused |
||
Service resumed |
||
Connection opened |
||
Connection rejected |
||
Connection closed |
Table 3–16 shows the method defined in class ServiceNotification for obtaining details about a service monitor notification. See Table 3–31 for the corresponding methods of class ConnectionNotification.
Table 3–16 Data Retrieval Method for Service Monitor Notifications
Method |
Result Type |
Description |
---|---|---|
String |
Service name See Table 3–11 for possible values. |