Defining which connection to use
The connection is determined by the setting of variables in the MQEnvironment class.
- MQEnvironment.properties
- This can contain the following key/value pairs:
- For client and bindings connections:
MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES
- MQEnvironment.hostname
- Set the value of this variable follows:
- For client connections, set this to the host name of the WebSphere MQ server to which you want to connect
- For bindings mode, set this to null
uj11040_