when to use client connection channel in MQ?

wing2ofsky picture wing2ofsky · Jul 3, 2012 · Viewed 27.5k times · Source

i kind of don't understand when to use the MQ client connection channel. From my understanding, when client trying to connect MQ server, it can be completed by defining the channel object with server connection channel value directly in application code. Therefore, if so, then why do we need to make use of such client connection channel?

Please help explain to me in detail. Thanks very much

Answer

Shashi picture Shashi · Jul 3, 2012

A Server Connection Channel is used by clients to connect to a queue manager.

You don't really use a client connection channel to connect to queue manager. A client connection channel defines the connection parameters required to connect to a queue manager for example queue manager name, connection name, SSL etc. These channel definitions are stored in channel definition table (CCDT) files. CCDT files are used by client applications through MQCHLLIB and MQCHLTAB environment variables.

This link and another has little more details.