Sun GlassFish Message Queue 4.4 Developer's Guide for JMX Clients

Notifications

The service manager monitor MBean supports the notifications shown in Table 3–21. These notifications are instances of the Message Queue JMX class ServiceNotification, and their names are defined as static constants in that class.

Table 3–21 Service Manager Monitor Notifications

Name 

Utility Constant 

Description 

mq.service.pause

ServiceNotification.SERVICE_PAUSE

Service paused 

mq.service.resume

ServiceNotification.SERVICE_RESUME

Service resumed 

Table 3–22 shows the method defined in class ServiceNotification for obtaining details about a service manager monitor notification.

Table 3–22 Data Retrieval Method for Service Manager Monitor Notifications

Method 

Result Type 

Description 

getServiceName

String

Service name 

See Table 3–11 for possible values.