|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ client connectivity to Multiple QMs |
« View previous topic :: View next topic » |
Author |
Message
|
SANTY_P |
Posted: Tue Apr 24, 2012 11:17 pm Post subject: MQ client connectivity to Multiple QMs |
|
|
Newbie
Joined: 24 Apr 2012 Posts: 3
|
Hi All,
I had MQ client installed in Windows machine and 2 MQ servers installed in different Aix server. ( say QM1 and QM2 )
I want to make connectivity to those queue managers from my windows using client.
Following way I tried .. but able to connect to only one queue manager, not able to connect to other queue manager..
created client connection channels in QM1 for both QM1 and QM2..
copied the amqclchl.tab file into client machine and setup the environment variables MQCHLTAB and MQCHLLIB..
now I tried to connect from the client.. but one either one queue manger only I can connect..
can any one tell me what could be the reason here...?? |
|
Back to top |
|
 |
zpat |
Posted: Tue Apr 24, 2012 11:44 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
A single MQCONN MQI call will only connect to one queue manager (at a time).
You can connect to as many as you want, using different MQCONN handles.
However the normal client design is to connect to one QM, and have your messages routed to that QM, using the standard remote queue feature. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 25, 2012 4:54 am Post subject: Re: MQ client connectivity to Multiple QMs |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
SANTY_P wrote: |
I want to make connectivity to those queue managers from my windows using client. |
Why? What's the requirement? As my most worthy associate points out it's not a typical thing to do.
It's more common to have an application connect to one of a list of queue manager depending on availability, and for that you'd use the CCDT as you describe. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Apr 25, 2012 6:10 am Post subject: Re: MQ client connectivity to Multiple QMs |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
SANTY_P wrote: |
now I tried to connect from the client.. but one either one queue manger only I can connect..
can any one tell me what could be the reason here...?? |
How exactly did you try to connect?
Did you write an application? Did you use one of the supplied sample apps?
How did you code the MQCONN call? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
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
|
|
|
|