Sun Java System Message Queue 4.3 Developer's Guide for JMX Clients

Connection Manager Configuration

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

Object Name

The connection manager configuration MBean has the following object name:

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

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

Attribute

The connection manager configuration MBean has the attribute shown in Table 3–26. The name of this attribute is defined as a static constant in the utility class ConnectionAttributes.

Table 3–26 Connection Manager Configuration Attribute

Name 

Type 

Settable? 

Description 

NumConnections

Integer

No 

Number of current connections 

Operations

The connection manager configuration MBean supports the operations shown in Table 3–27. The names of these operations are defined as static constants in the utility class ConnectionOperations.

Table 3–27 Connection Manager Configuration Operations

Name 

Parameters 

Result Type 

Description 

getConnections

None 

ObjectName[]

Object names of connection configuration MBeans for all current connections 

destroy

connectionID (Long)

None 

Destroy connection 

The desired connection is designated by its connection identifier (connectionID).