|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Question on MQSeries Listeners ... |
« View previous topic :: View next topic » |
Author |
Message
|
tkaravind |
Posted: Fri Mar 05, 2004 5:57 am Post subject: Question on MQSeries Listeners ... |
|
|
Acolyte
Joined: 24 Jul 2001 Posts: 62
|
Dear All,
I have always had this question on MQSeries listeners.
We start the Listeners using MQSeries Services (on Windows servers) panel for different queue managers.
However the real users of these listeners i.e the Sender channels connecting from elsewhere never specify the Queue Manager name but only the Hostname & Port !!!
Is this design consistent ? I mean should the listener be Queue Manager specific ?
Can listeners be grouped under a different category instead of Queue Managers ???
Regards,
Aravind |
|
Back to top |
|
 |
JasonE |
Posted: Fri Mar 05, 2004 8:00 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
The listener is qmgr specific. When launched from the gui. -m QM is in the command line. This means it connects to that specific qmgr. So someone connecting on that port will connect just to that qmgr, regardless of how many other qmgrs are on the box, and then we look at the inbound request for a channel name, and find it in the list of channel definitions. If you have connected to the wrong, but valid, port then either the channel lookup will fail with not found, or it will connect fine. With a client connection, depending on how you have connected, a check is also made on the returned qmgr name to confirm it matches what you were trying to connect to. |
|
Back to top |
|
 |
tkaravind |
Posted: Sat Mar 06, 2004 2:07 am Post subject: |
|
|
Acolyte
Joined: 24 Jul 2001 Posts: 62
|
Thanks a lot Jason.
If I have two queue managers both having listener on the same port then which port does the incoming channel process connect to ?
Can I assume it will be to the first listener that was started ?
Offcourse both queue managers will have the required channel definitions so the lookup does not fail.
Regards,
Aravind |
|
Back to top |
|
 |
Michael Dag |
Posted: Sat Mar 06, 2004 2:14 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
tkaravind wrote: |
If I have two queue managers both having listener on the same port then which port does the incoming channel process connect to ?
|
You can't have two queuemanagers listening on the same port!
The first listener will bind to the port, the second will fail with a bind failure. _________________ Michael
MQSystems Facebook page |
|
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
|
|
|
|