Author |
Message
|
jevitha |
Posted: Sun Sep 08, 2002 9:27 pm Post subject: How 2 set MQCHLLIB and TAB for 2 Client Connection Channels? |
|
|
Newbie
Joined: 04 Sep 2002 Posts: 7
|
Hi All
How to set the MQ Environment(MQCHLLIB & TAB) for two Client Connection(>4MB) channels?.
I want to set this Environment to connect to 2 messaging middlewares(Cyclone and Amtrix). Plz let me know.
Regards
Senthilkumar S. |
|
Back to top |
|
 |
mgrabinski |
Posted: Sun Sep 08, 2002 10:06 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
To be able to connect to more than 1 queue manager, you need to set up a client channel table:
1) on one of your queue managers define client connection channels pointing to each of your queue manager
2) this will generate a client connection table (AMQCLCHL.TAB in ..\qmgr\<your_qmgr_name>\@ipcc). Copy the table to your client
3) set two environment variables: MQCHLTAB and MQCHLLIB to point to the table
4) on MQCONN in your client use proper queue mgr name (there is also a possibility to use a blnak name, it can allow you to connect to the frist avalaible queue manager) _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
jevitha |
Posted: Mon Sep 09, 2002 1:12 am Post subject: |
|
|
Newbie
Joined: 04 Sep 2002 Posts: 7
|
Hi
My case is different. I want to connect to 2 Queuemanagers from Amtrix(Messaging middleware) where amtrix will act as a MQ client. Here, Amtrix uses 2 Queuemanager to process inbound and outbound documents. In this case, how do i set the MQ Environment which will look at both the QueueManagers(2 Client Connection Channels) using MQCHLLIB and MQCHLTAB. Plz let me know.
Regards
Senthil |
|
Back to top |
|
 |
jevitha |
Posted: Mon Sep 09, 2002 1:18 am Post subject: |
|
|
Newbie
Joined: 04 Sep 2002 Posts: 7
|
Hi
How do i define a Client Connection Channel which points to 2 separate Queuemanagers on different machine?
Regards
Senthil |
|
Back to top |
|
 |
mgrabinski |
Posted: Mon Sep 09, 2002 1:38 am Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
As I see it, there two issues in your post:
1) the ability to connect to two different managers
my previous post answers this one - a client table is exactly what you need
You create the table on any queue manager by defining client connection channels. Each definition contains the target queue manager's IP address and its name. After exporting the table to a client, it can access any queue manager from the table.
2) the ability to connect to two different menagers concurently
although an MQ app can be connected to only one queue manager at a time, but you can have several threads, each connected to diferent managers (I don't know nothing about Amtrix, I generalize here)[/b] _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 09, 2002 6:24 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Marcin,
An MQClient can connect to more than one queue manager. From the MQClient handbook, Chapter 1, Why use MQClients?
http://publibfp.boulder.ibm.com/epubs/html/csqzaf06/csqzaf06tfrm.htm
Quote: |
An application running on a WebSphere MQ client can connect to more than one queue manager concurrently... |
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|