public class MQPropertyFileConfigManagerConnectionParameters extends java.lang.Object implements ConfigManagerConnectionParameters
This class is included for compatibility with older applications. Application should instead use MQBrokerConnectionParameters.
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ 25103.7 2004-03-24 HDMPL v6 Release 47371 2007-07-30 HDMPL v6.1 Release f51619.1 2008-07-17 HDMPL v7 Release: Deprecated class
Constructor and Description |
---|
MQPropertyFileConfigManagerConnectionParameters()
Deprecated.
the default constructor is no longer supported.
Use MQPropertyFileBrokerConnectionParameters(String) instead.
|
MQPropertyFileConfigManagerConnectionParameters(java.lang.String filename)
Deprecated.
Constructs a new instance that refers to connection properties in the
file with the supplied fully qualified name.
|
Modifier and Type | Method and Description |
---|---|
void |
disableDomainAwareness()
Deprecated.
As of WebSphere Message Broker V7, Configuration Manager
ACLs are no longer used, and so this method is no longer required.
|
static void |
disableMQJavaClientTracing()
Deprecated.
Disables WebSphere MQ Java Client tracing
|
static void |
enableMQJavaClientTracing(java.lang.String filename)
Deprecated.
Sends level 5 WebSphere MQ Java Client tracing to the specified file.
|
java.lang.String |
generateUniqueDeployID()
Deprecated.
Sets the deploy ID for the current connection to
a unique String and returns it.
|
java.lang.String |
getDeployID()
Deprecated.
This method should not be used.
|
java.lang.String |
getHostname()
Deprecated.
Returns the broker's queue manager's IP address or
host name as stored in the properties file.
|
int |
getPort()
Deprecated.
Returns the broker's queue manager's port
as stored in the properties file.
|
com.ibm.broker.config.proxy.CommsMessageSerializer |
getProtocol()
Deprecated.
This method is required by the IBM Integration API (CMP) and
should not be called by user applications.
|
java.lang.String |
getQueueManager()
Deprecated.
Returns the broker's queue manager name
as stored in the properties file.
|
com.ibm.broker.config.proxy.Receiver |
getReceiver()
Deprecated.
This method is required by the IBM Integration API (CMP) and
should not be called by user applications.
|
java.lang.String |
getSecExit()
Deprecated.
Returns the broker's security exit
as stored in the properties file.
|
java.net.URL |
getSecExitURL()
Deprecated.
Returns the broker's security exit URL
as stored in the properties file.
|
com.ibm.broker.config.proxy.Sender |
getSender()
Deprecated.
This method is required by the IBM Integration API (CMP) and
should not be called by user applications.
|
java.lang.String |
getSessionIDString()
Deprecated.
Returns a String representation of the Session ID for this MQ
Connection.
|
java.lang.String |
getSSLCipherSuite()
Deprecated.
Returns the broker's SSL cipher suite
as stored in the properties file.
|
java.lang.String |
getSSLCRLLDAPList()
Deprecated.
Returns the broker's SSL CRL LDAP list
as stored in the properties file.
|
java.lang.String |
getSSLKeyStore()
Deprecated.
Returns the broker's SSL key store
as stored in the properties file.
|
java.lang.String |
getSSLPeerName()
Deprecated.
Returns the broker's SSL peer name
as stored in the properties file.
|
java.lang.String |
getSSLTrustStore()
Deprecated.
Returns the broker's SSL trust store
as stored in the properties file.
|
java.lang.String |
getUserID()
Deprecated.
Returns the userid and machine name string that will be used to authorize this
application with the broker.
|
void |
setAdvancedConnectionParameters(java.lang.String channelName,
java.lang.String requestQueueName,
java.lang.String responseQueueName,
int maxRetries,
int retryWaitMillis,
java.lang.String deployID,
byte[] sessionID)
Deprecated.
Sets the 'advanced' options for a connection to MQ.
|
java.lang.String |
toString()
Deprecated.
For diagnostic information, this method displays the current connection
parameters.
|
public MQPropertyFileConfigManagerConnectionParameters(java.lang.String filename)
filename
- Path and file name of the parameter file, which must be in
the *.configmgr format. Supplying a null or blank parameter
here has the same effect as calling the empty constructor.public MQPropertyFileConfigManagerConnectionParameters()
public java.lang.String getHostname()
public int getPort()
public java.lang.String getQueueManager()
public java.lang.String getSecExit()
public java.net.URL getSecExitURL()
public java.lang.String getSSLCipherSuite()
public java.lang.String getSSLCRLLDAPList()
public java.lang.String getSSLKeyStore()
public java.lang.String getSSLPeerName()
public java.lang.String getSSLTrustStore()
public void setAdvancedConnectionParameters(java.lang.String channelName, java.lang.String requestQueueName, java.lang.String responseQueueName, int maxRetries, int retryWaitMillis, java.lang.String deployID, byte[] sessionID)
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 MQSender should retry after
consecutive failures. If this is set to -1, the existing
value will be used.retryWaitMillis
- The time (in milliseconds) the MQSender should wait inbetween
retries. If this is set to -1, the existing value will be
used.deployID
- This value is ignored.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.public com.ibm.broker.config.proxy.Sender getSender() throws ConfigManagerProxyLoggedException
getSender
in interface ConfigManagerConnectionParameters
ConfigManagerProxyLoggedException
- if the security exit could not be instantiatedpublic com.ibm.broker.config.proxy.Receiver getReceiver() throws ConfigManagerProxyLoggedException
getReceiver
in interface ConfigManagerConnectionParameters
ConfigManagerProxyLoggedException
- if the security exit could not be instantiatedpublic com.ibm.broker.config.proxy.CommsMessageSerializer getProtocol()
getProtocol
in interface ConfigManagerConnectionParameters
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDeployID()
getDeployID
in interface ConfigManagerConnectionParameters
public void disableDomainAwareness()
public java.lang.String getUserID()
getUserID
in interface ConfigManagerConnectionParameters
public static final void enableMQJavaClientTracing(java.lang.String filename)
filename
- of the trace filepublic static final void disableMQJavaClientTracing()
public java.lang.String getSessionIDString()
public java.lang.String generateUniqueDeployID()