public class AdminConnectionConfiguration
extends java.lang.Object
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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
imqAddress
This property holds the address that will be used by management clients to connect to the MQ Message Service.
|
static java.lang.String |
imqDefaultAdminPassword
This property holds the default administrator password that will be used to authenticate with the MQ Administration
Service.
|
static java.lang.String |
imqDefaultAdminUsername
This property holds the default administrator username that will be used to authenticate with the MQ Administration
Service.
|
public static final java.lang.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 java.lang.String imqDefaultAdminUsername
The default value of this property is admin
public static final java.lang.String imqDefaultAdminPassword
The default value of this property is admin
Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.