|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Client .tab file |
« View previous topic :: View next topic » |
Author |
Message
|
GregJ |
Posted: Mon Mar 25, 2002 8:31 am Post subject: |
|
|
Acolyte
Joined: 24 Oct 2001 Posts: 69 Location: Markham, On. Canada
|
Is it possible to have 6 different mqchltab files on my client machine (all named differently - or stored in a different directory). Then have my application code set the location for each one as it is needed?
What I need to do is connect 8 clients to 6 Servers (each client must talk to each server). The queue manager and listener is the same on each of the servers - the only difference is the IP address
Can it work? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Mar 25, 2002 8:55 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Yes, you can have more than 1 channel table file on a machine and if you can code your app to dynamically choose which one to use, you should be all set.
BUT, having 6 queue managers with the same name is asking for trouble. If you ever try to get them to communicate to each other, you'll have problems.
Why not rename the QMs to 6 unique names (QM1, QM2, etc). Then build one channel table with entries for all 6 queue mamangers. Your client then specifies the name of the queue manager it wants to connect to on the MQCONN call, and now one file works for all QMs and all clients.
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
GregJ |
Posted: Mon Mar 25, 2002 9:39 am Post subject: |
|
|
Acolyte
Joined: 24 Oct 2001 Posts: 69 Location: Markham, On. Canada
|
Great, Thanks - How would I build 1 channeltab file that contains all 6 different queue managers info? Im quite interested in your last paragraph of your post!! How would I build this type of file? |
|
Back to top |
|
 |
StefanSievert |
Posted: Mon Mar 25, 2002 4:43 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
|
Back to top |
|
 |
GregJ |
Posted: Tue Mar 26, 2002 10:25 am Post subject: |
|
|
Acolyte
Joined: 24 Oct 2001 Posts: 69 Location: Markham, On. Canada
|
Thanks..... that's exactly what I needed! |
|
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
|
|
|
|