|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Channel Table Question MQCHLTAB |
« View previous topic :: View next topic » |
Author |
Message
|
mktgurutsm |
Posted: Tue Jan 27, 2004 12:46 pm Post subject: MQ Channel Table Question MQCHLTAB |
|
|
Novice
Joined: 08 Jan 2004 Posts: 21 Location: New York
|
Say we create channel table and table has 20 CLNTCONN channels. Some of the channels can point to the same QMGR. From an MQClient perspective, how does the MQClient know which SVRCONN channel to go to if there are multiple channels pointing to same QMGR in the same table?
Any suggestions or helpful comments on MQCHLTAB appreciated. |
|
Back to top |
|
 |
vmcgloin |
Posted: Tue Jan 27, 2004 2:23 pm Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
See the examples in chapter 13 of the Clients manual...
Quote: |
applying the following rules:
1. WebSphere MQ searches the client channel definition table, in channel name order, looking in the queue manager name (QMNAME) field for an entry corresponding to the one given in the MQCONN call.
2. If a match is found, the transmission protocol and the associated connection name are extracted.
3. An attempt is made to start the channel to the machine identified by the
connection name (CONNAME). If this is successful, the application continues.
4. If the attempt to start the channel fails and there is more than one entry in the client channel definition table, the file is searched for a further match. If a match is found, processing continues at step 1.
5. If no match is found, or there are no more entries in the client channel
definition table and the channel has failed to start, the application is unable to connect. |
So it is the channel names that are important and you might have a hard job forcing 2 applications that use the same channels table to use different channels to connect to the same qmgr. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|