|
Message Queue, v4.5.1 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.messaging.AdminConnectionConfiguration
public class AdminConnectionConfiguration
The AdminConnectionConfiguration
class contains property names
and special values for configuring the AdminConnectionFactory
object.
Other property names and information related to security is TBD.
com.sun.messaging.AdminConnectionFactory
Field Summary | |
---|---|
static String |
imqAddress
This property holds the address that will be used by management clients to connect to the MQ Message Service. |
static String |
imqDefaultAdminPassword
This property holds the default administrator password that will be used to authenticate with the MQ Administration Service. |
static String |
imqDefaultAdminUsername
This property holds the default administrator username that will be used to authenticate with the MQ Administration Service. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String imqAddress
Message Server Address Syntax
The syntax for specifying a message server address is as follows:
scheme://address_syntax
This syntax is similar to the one used by JMS clients to configure JMS ConnectionFactory objects. However, the address syntax includes an MQ broker JMX connector name (instead of a connection service name).
scheme
and address_syntax
are described in the folowing
table.
Scheme | JMX Connector Name | Description | Syntax |
---|---|---|---|
mq |
jmxrmi
|
The MQ Port Mapper at the specified host and port will handle the connection request, and determine the JMXServiceURL for the connector that is specified. Once this is known, MQ makes the connection. | [hostName][:port]/connectorName Defaults: hostName = localhost A connector name must be specified. |
The following table shows how the message server address syntax applies in some typical cases.
Connector Name | Broker Host | Port | Example Address |
---|---|---|---|
jmxrmi | Unspecified | Unspecified | mq:///jmxrmi |
jmxrmi | Specified Host | Unspecified | mq://myBkrHost/jmxrmi |
jmxrmi | Unspecified | Specified Portmapper Port | mq://:1012/jmxrmi |
jmxsslrmi |
Local Host | Default Portmapper Port | mq://localHost:7676/jmxsslrmi |
jmxsslrmi |
Specified Host | Default Portmapper Port | mq://myBkrHost:7676/jmxsslrmi |
jmxsslrmi |
Specified Host | Specified Portmapper Port | mq://myBkrHost:1012/jmxsslrmi |
The default value of this property is mq://localhost:7676/jmxrmi
public static final String imqDefaultAdminUsername
The default value of this property is admin
public static final String imqDefaultAdminPassword
The default value of this property is admin
|
Message Queue, v4.5.1 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |