ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Question on MQSeries Listeners ...

Post new topic  Reply to topic
 Question on MQSeries Listeners ... « View previous topic :: View next topic » 
Author Message
tkaravind
PostPosted: Fri Mar 05, 2004 5:57 am    Post subject: Question on MQSeries Listeners ... Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Fri Mar 05, 2004 8:00 am    Post subject: Reply with quote

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
View user's profile Send private message
tkaravind
PostPosted: Sat Mar 06, 2004 2:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Sat Mar 06, 2004 2:14 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Question on MQSeries Listeners ...
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.