IntegrationNodeConnectionParameters
@Deprecated public class MQBrokerConnectionParameters extends IntegrationNodeConnectionParameters implements BrokerConnectionParameters
This class has been deprecated. As of IBM Integration Bus V10, MQ Broker
Connections are no longer used and applications should use the
IntegrationNodeConnectionParameters
class to connect directly with brokers.
For example:
BrokerProxy b = BrokerProxy.getInstance( new IntegrationNodeConnectionParameters("localhost", 4414));
To connect to a broker defined on the local machine, it is recommended
that you use BrokerProxy.getLocalInstance
instead.
This class provides the connection parameters to a remote broker by directly specifying its WebSphere MQ-based connection parameters.
Applications should create an instance of this class if they require the hostname,
port, queue manager and (optionally) security exit information in order to
connect.
In order to attempt a connection, the instance must then be passed to the
BrokerProxy.getInstance
method. For example:
BrokerProxy.getInstance( new MQBrokerConnectionParameters( "mymachine.domain.com", 1414, "MYQM"));Note that once the getInstance() method has been called, modifying the MQBrokerConnectionParameters object will have no effect on existing connections.
class
com.ibm.broker.config.proxy.MQBrokerConnectionParameters
implements
com.ibm.broker.config.proxy.BrokerConnectionParameters
|
|
Responsibilities | Represents a set of connection parameters to a WebSphere MQ based Message Broker. |
Collaborators | com.ibm.mq.* |
Change Activity: --------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: --------- ----------- ------------- ------------------------------------ f51619.1 2008-07-16 HDMPL v7 Release
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
copyright
Deprecated.
IBM Copyright
|
protected static java.lang.String |
DEFAULT_REQUEST_QUEUE_NAME
Deprecated.
The default request queue name for sending messages to the broker
|
protected static java.lang.String |
DEFAULT_RESPONSE_QUEUE_NAME
Deprecated.
The default response queue name for receiving messages from the broker
|
protected static java.lang.String |
sccsid
Deprecated.
Version information
|
ip, maxRetries, port, retryWaitMillis
Constructor and Description |
---|
MQBrokerConnectionParameters(java.lang.String ip,
int port,
java.lang.String qmgr)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node. |
MQBrokerConnectionParameters(java.lang.String ip,
int port,
java.lang.String qmgr,
java.lang.String mqseClassname)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node. |
MQBrokerConnectionParameters(java.lang.String ip,
int port,
java.lang.String qmgr,
java.lang.String mqseClassname,
java.net.URL mqseURL)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node. |
MQBrokerConnectionParameters(java.lang.String ip,
int port,
java.lang.String qmgr,
java.lang.String mqseClassname,
java.net.URL mqseURL,
java.lang.String sslCipherSuite,
java.lang.String sslPeerName,
java.lang.String sslKeyStore,
java.lang.String sslTrustStore,
java.util.Collection<java.security.cert.CertStore> sslCRLLdapCollection)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node. |
MQBrokerConnectionParameters(java.lang.String ip,
int port,
java.lang.String qmgr,
java.lang.String mqseClassname,
java.net.URL mqseURL,
java.lang.String sslCipherSuite,
java.lang.String sslPeerName,
java.lang.String sslKeyStore,
java.lang.String sslTrustStore,
java.lang.String sslCRLLdapList)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node. |
Modifier and Type | Method and Description |
---|---|
static void |
disableMQJavaClientTracing()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
static void |
enableMQJavaClientTracing(java.lang.String filename)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
static java.lang.String[] |
getSupportedSSLCipherSuites()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
protected java.lang.String |
getUserNameForLogging()
Deprecated.
|
void |
setAdvancedConnectionParameters(java.lang.String channelName,
java.lang.String requestQueueName,
java.lang.String responseQueueName,
int maxRetries,
int retryWaitMillis,
byte[] sessionID)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
static void |
setSSLFIPSEnabled(boolean sslUseFIPS)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
void |
setSSLKeyStorePassword(java.lang.String password)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
void |
setSSLTrustStorePassword(java.lang.String password)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
void |
validate(BrokerProxy proxy)
Deprecated.
This method is required by the IBM Integration API (CMP) and
should not be called by user applications.
|
checkJettyMissingClass, getBrokerName, getHostname, getIp, getPort, getProtocol, getQueueManager, getReceiver, getSender, getSessionIDString, getUserID, isLocal, isPasswordSet, setAdvancedConnectionParameters, setPassword, setUserID, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProtocol, getReceiver, getSender, getUserID
protected static final java.lang.String copyright
protected static final java.lang.String sccsid
protected static final java.lang.String DEFAULT_REQUEST_QUEUE_NAME
protected static final java.lang.String DEFAULT_RESPONSE_QUEUE_NAME
@Deprecated public MQBrokerConnectionParameters(java.lang.String ip, int port, java.lang.String qmgr)
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node.ip
- IP Address of the target integration nodeport
- Web admin port of the target integration node.qmgr
- WebSphere MQ Queue Manager which the broker is using@Deprecated public MQBrokerConnectionParameters(java.lang.String ip, int port, java.lang.String qmgr, java.lang.String mqseClassname)
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node.ip
- IP Address of the target integration nodeport
- Web admin port of the target integration node.qmgr
- WebSphere MQ Queue Manager which the broker is usingmqseClassname
- Name of the Security Exit to use with this connection.
The Security Exit will be loaded using the standard class loader.@Deprecated public MQBrokerConnectionParameters(java.lang.String ip, int port, java.lang.String qmgr, java.lang.String mqseClassname, java.net.URL mqseURL)
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node.ip
- IP Address of the target integration nodeport
- Web admin port of the target integration node.qmgr
- WebSphere MQ Queue Manager which the broker is usingmqseClassname
- Name of the Security Exit to use with this connection.
If running inside an Eclipse environment, callers should also use the mqseURL
parameter.mqseURL
- URL that describes where the MQ Security Exit can be loaded.
If null, the standard class loader will be used to locate and instantiate
the security exit class.@Deprecated public MQBrokerConnectionParameters(java.lang.String ip, int port, java.lang.String qmgr, java.lang.String mqseClassname, java.net.URL mqseURL, java.lang.String sslCipherSuite, java.lang.String sslPeerName, java.lang.String sslKeyStore, java.lang.String sslTrustStore, java.lang.String sslCRLLdapList)
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node.ip
- IP Address of the target integration nodeport
- Web admin port of the target integration node.qmgr
- WebSphere MQ Queue Manager which the broker is usingmqseClassname
- - Name of the Security Exit to use with this connection.
If running inside an Eclipse environment, callers should also use the mqseURL
parameter.mqseURL
- URL that describes where the MQ Security Exit can be loaded.
If null, the standard class loader will be used to locate and instantiate
the security exit class.sslCipherSuite
- SSL CipherSuite to be usedsslPeerName
- SSL Peername to be usedsslKeyStore
- SSL KeyStore to be usedsslTrustStore
- SSL TrustStore to be usedsslCRLLdapList
- A comma seperated list of LDAP servers hosting CRLs@Deprecated public MQBrokerConnectionParameters(java.lang.String ip, int port, java.lang.String qmgr, java.lang.String mqseClassname, java.net.URL mqseURL, java.lang.String sslCipherSuite, java.lang.String sslPeerName, java.lang.String sslKeyStore, java.lang.String sslTrustStore, java.util.Collection<java.security.cert.CertStore> sslCRLLdapCollection)
IntegrationNodeConnectionParameters
Please note that previously the port value was port of the MQ Listener.
MQ is no longer used for Java CMP applications to connect to the integration node.
The port value should now be the Web admin port of the target integration node.ip
- IP Address of the target integration nodeport
- Web admin port of the target integration node.qmgr
- WebSphere MQ Queue Manager which the broker is usingmqseClassname
- Name of the Security Exit to use with this connection.
If running inside an Eclipse environment, callers should also use the mqseURL
parameter.mqseURL
- URL that describes where the MQ Security Exit can be loaded.
If null, the standard class loader will be used to locate and instantiate
the security exit class.sslCipherSuite
- SSL CipherSuite to be usedsslPeerName
- SSL Peername to be usedsslKeyStore
- SSL KeyStore to be usedsslTrustStore
- SSL TrustStore to be usedsslCRLLdapCollection
- A collection of CertStore objects representing LDAP servers hosting CRLs@Deprecated public void setSSLKeyStorePassword(java.lang.String password)
IntegrationNodeConnectionParameters
password
- Password for the key store@Deprecated public void setSSLTrustStorePassword(java.lang.String password)
IntegrationNodeConnectionParameters
password
- Password for the trust store@Deprecated public static void setSSLFIPSEnabled(boolean sslUseFIPS)
IntegrationNodeConnectionParameters
sslUseFIPS
- Only if this is true, FIPS compliance will be enabled
on all future connections to SSL queue managers within this JVM.@Deprecated public void setAdvancedConnectionParameters(java.lang.String channelName, java.lang.String requestQueueName, java.lang.String responseQueueName, int maxRetries, int retryWaitMillis, byte[] sessionID)
IntegrationNodeConnectionParameters
channelName
- The name of the WebSphere MQ Server Connection channel
to use. If this is set to null, the existing value will be used.requestQueueName
- This parameter is currently ignored.responseQueueName
- This parameter is currently ignored.maxRetries
- The number of times the IBM Integration API
(CMP) should retry sending messages after consecutive
failures. If this is set to -1, the existing value will be
used.retryWaitMillis
- The time (in milliseconds) the IBM
Integration API (CMP) should wait inbetween retries. If this
is set to -1, the existing value will be used.sessionID
- A byte array containing an identifier that uniquely
identifies this connection to the broker. This will be used as
a correlId, and so should be no longer than 24 bytes. If this is set
to null, the existing value will be used.protected java.lang.String getUserNameForLogging()
@Deprecated public static final void enableMQJavaClientTracing(java.lang.String filename)
IntegrationNodeConnectionParameters
filename
- of the trace file@Deprecated public static final void disableMQJavaClientTracing()
IntegrationNodeConnectionParameters
@Deprecated public static final java.lang.String[] getSupportedSSLCipherSuites()
IntegrationNodeConnectionParameters
public void validate(BrokerProxy proxy) throws ConfigManagerProxyLoggedException
BrokerConnectionParameters
validate
in interface BrokerConnectionParameters
validate
in class IntegrationNodeConnectionParameters
ConfigManagerProxyLoggedException