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

Service Manager Configuration

Each broker has a single service manager configuration MBean, used for managing all of the broker's service configuration MBeans.

Object Name

The service manager configuration MBean has the following object name:

com.sun.messaging.jms.server:type=ServiceManager,subtype=Config

A string representing this object name is defined as a static constant SERVICE_MANAGER_CONFIG_MBEAN_NAME in the utility class MQObjectName.

Attributes

The service manager configuration MBean has the attributes shown in Table 3–17. The names of these attributes are defined as static constants in the utility class ServiceAttributes.

Table 3–17 Service Manager Configuration Attributes

Name 

Type 

Settable? 

Description 

MinThreads

Integer

No 

Total minimum number of threads for all active services 

MaxThreads

Integer

No 

Total maximum number of threads for all active services 

Operations

The service manager configuration MBean supports the operations shown in Table 3–18. The names of these operations are defined as static constants in the utility class ServiceOperations.

Table 3–18 Service Manager Configuration Operations

Name 

Parameters 

Result Type 

Description 

getServices

None 

ObjectName[]

Object names of service configuration MBeans for all services 

pause

None 

None 

Pause all services except admin and ssladmin

resume

None 

None 

Resume all services