IntegrationNodeConnectionParameters
@Deprecated public class MQPropertyFileBrokerConnectionParameters 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 reading a .broker properties file that contains the hostname, queue manager, port and security exit information.
Use the class in the following way:
BrokerConnectionParameters bcp = new MQPropertyFileBrokerConnectionParameters("b1.broker"); BrokerProxy.getInstance(bcp);
Files with a *.broker extension are obtained from the Message Broker Explorer by selecting the "Export *.broker file" option after right-clicking on a broker object.
The file contains all possible connection information required in order to connect to a remote broker and takes the following form:
<?xml version="1.0" encoding="UTF-8"?> <broker crlNameList="" domainName="" host="hostname.example.com" listenerPort="0" queueManager="MYQMGR" securityExit="" securityExitJar="" sslCipherSuite="NONE" sslDistinguishedNames="" sslKeyStore="" sslTrustStore="" svrconn="SYSTEM.BKR.CONFIG"/>(For compatibility with older applications, the root element "broker" can be altenatively set to "configmgr" with no effect.)
class
com.ibm.broker.config.proxy.MQPropertyFileBrokerConnectionParameters
implements
com.ibm.broker.config.proxy.BrokerConnectionParameters
|
|
Responsibilities | Represents a set of connection parameters to a remote WebSphere MQ based broker. |
Collaborators | MQBrokerConnectionParameters |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ 51619.1 2008-07-16 HDMPL v7 Release 60252 2011-06-22 HDCAB Added setSSLxxxStorePassword methods
Constructor and Description |
---|
MQPropertyFileBrokerConnectionParameters(java.lang.String filename)
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
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 |
java.lang.String |
getQueueManager()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
java.lang.String |
getSecExit()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
java.net.URL |
getSecExitURL()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
java.lang.String |
getSSLCipherSuite()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
java.lang.String |
getSSLCRLLDAPList()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
java.lang.String |
getSSLKeyStore()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
java.lang.String |
getSSLPeerName()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
java.lang.String |
getSSLTrustStore()
Deprecated.
As of IBM Integration Bus v10, replaced by
IntegrationNodeConnectionParameters |
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 |
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.
|
getBrokerName, getHostname, getIp, getPort, getProtocol, getReceiver, getSender, getSessionIDString, getUserID, isLocal, isPasswordSet, setAdvancedConnectionParameters, setPassword, setUserID, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProtocol, getReceiver, getSender, getUserID
@Deprecated public MQPropertyFileBrokerConnectionParameters(java.lang.String filename)
IntegrationNodeConnectionParameters
filename
- Path and file name of the parameter file, which must be in
the *.broker format. Supplying a null or blank parameter
here has the same effect as calling the empty constructor.@Deprecated public java.lang.String getQueueManager()
IntegrationNodeConnectionParameters
getQueueManager
in class IntegrationNodeConnectionParameters
@Deprecated public java.lang.String getSecExit()
IntegrationNodeConnectionParameters
@Deprecated public java.net.URL getSecExitURL()
IntegrationNodeConnectionParameters
@Deprecated public java.lang.String getSSLCipherSuite()
IntegrationNodeConnectionParameters
@Deprecated public java.lang.String getSSLCRLLDAPList()
IntegrationNodeConnectionParameters
@Deprecated public java.lang.String getSSLKeyStore()
IntegrationNodeConnectionParameters
@Deprecated public java.lang.String getSSLPeerName()
IntegrationNodeConnectionParameters
@Deprecated public java.lang.String getSSLTrustStore()
IntegrationNodeConnectionParameters
@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 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.@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 final void enableMQJavaClientTracing(java.lang.String filename)
IntegrationNodeConnectionParameters
filename
- of the trace file@Deprecated public static final void disableMQJavaClientTracing()
IntegrationNodeConnectionParameters
public void validate(BrokerProxy proxy) throws ConfigManagerProxyLoggedException
BrokerConnectionParameters
validate
in interface BrokerConnectionParameters
validate
in class IntegrationNodeConnectionParameters
ConfigManagerProxyLoggedException