WebSphere MQ Connection
The WebSphere MQ Connection shared resource contains all the parameters necessary to connect to a queue manager.
- Local: A local connection uses the C language libraries and JNI to locate and connect to queue managers on the local machine.
- Remote: A remote connection uses TCP/IP to connect to the listening port on any queue manager on the network or the local machine.
- Client Connection Table: This type of connection uses a Client Channel Definition Table (CCDT) exported by the queue manager upon saving a client channel definition. This is the only supported method to connect to a multi-instance queue manager.
- Client connection table connections support local transactions. However, note that transactions are not guaranteed to survive reconnections to the backup server in a failover situation.
- Client connection table connections support the use of specific user credentials.
- Client connection table connections support secure transports (TLS/SSL).
See the IBM documentation for a description of CCDTs and how they are to be used.
Queue Manager Connection Configuration
The Queue Manager Connection Configuration panel contains the following fields.
Pooling Configuration
The Pooling Configuration panel contains the following fields.
| Field | Module Property? | Description |
|---|---|---|
| Pooling Enabled | N | When checked, pooling is active for this connection. The primary consideration for choosing pooling parameters is the number of available connections to the queue manager. Choose values which will not create unnecessary resource consumption in the queue manager and leave available connections for other applications (including other pooled connections, should this application be deployed on multiple servers).
If pooling is not active, a new non pooled connection is acquired and released for each activity. |
| Max | Y | Determines the maximum number of connections allowed in the pool. When this limit is reached, subsequent activities wait for a connection to become available before starting. |
| Max Unused | Y | Determines the maximum number of idle connections allowed in the pool. When the number of unused connections reaches this number, the idle connections are disconnected and closed, freeing resources on the server. Amounts over the Max Connections value are ignored. |
| Timeout | Y | The length of time an inactive connection is kept in the pool. A connection that has remained unused for this number of milliseconds is closed and removed from the pool, freeing resources on the server. |
TLS Configuration
The TLS Configuration panel contains the parameters required to make a secure connection to the queue manager using the Transport Layer Security protocol. Before TLS can be used, the queue manager and server channel used by clients must be configured. For more information, see Creating Secure Connections to the Queue Manager.
In order to ensure TLS can now be switched on or off at runtime depending on a deployment parm. Thus the SSL Configuration fields are always enabled. The TLS Configuration panel contains the following fields.
| Field | Module Property? | Description |
|---|---|---|
| TLS Configuration | N | Create an SSL Client Configuration resource.
See Creating Secure Connections to the Queue Manager for more information about this field. |
| TLS Cipher Spec | Y | The queue manager requires that a particular cipher is specified on the connection. Normally ciphers are negotiated during the handshake, but this is not true of WebSphere MQ connections. The cipher must match the one selected on the queue managers secure channel configuration. However, please note the names do not match because the queue manager refers to the cipher suite and the plug-in refers to a cipher spec. To find out the correct cipher, simply leave the field blank and press Test Connection to see if any cipher available in Java is acceptable to the queue manager. If not you may have to adjust the queue manager's cipher specification. |
The following table shows the values in the TLS Cipher Spec field which are known to work:
| BW Configuration | Channel Configuration |
|---|---|
| SSL_RSA_WITH_DES_CBC_SHA | DES_SHA_EXPORT |
| SSL_RSA_WITH_NULL_MD5 | NULL_MD5 |
| SSL_RSA_WITH_NULL_SHA | NULL_SHA |
| SSL_RSA_EXPORT_WITH_RC4_40_MD5 | RC4_MD5_EXPORT |
| SSL_RSA_WITH_RC4_128_MD5 | RC4_MD5_US |
| SSL_RSA_WITH_RC4_128_SHA | RC4_SHA_US |
| SSL_RSA_WITH_3DES_EDE_CBC_SHA | TRIPLE_DES_SHA_US |