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 » IBM MQ Installation/Configuration Support » Listener not running

Post new topic  Reply to topic
 Listener not running « View previous topic :: View next topic » 
Author Message
atheek
PostPosted: Sat Sep 02, 2006 1:03 am    Post subject: Listener not running Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Hi folks,

Is it necessary to run the listener to receive messages? I am having 3 queue managers at my local box , QMA, QMB, QMC. My application is connected to QMA. I checked for any listeners for QMA by issuing:

ps -ef | grep runmqlsr, i got the following:

runmqlsr -m QMC

so there is no listener for QMA and QMB. But my application connected to QMA is able to receive messages from the end systems.

Thanks in advance
Back to top
View user's profile Send private message
wschutz
PostPosted: Sat Sep 02, 2006 2:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

You need a listener, either a tcp listener (aka inetd) or a mq listener (runmqlsr):
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/csqzae10101.htm

In MQ, the only ways to get messages into qmgrs is:
(1) via a local program MQPUTting the messages, or
(2) have a MQ channel to the qmgr (which actually is also using MQPUT to put the messages),
(there is an exception for zOS qmgrs called shared queues)....

To run a channel, one end needs a listener... there are channel configurations where the messages are received "in the reverse order", but these configurations are rare:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzae.doc/chtype.htm
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Sat Sep 02, 2006 6:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So if you have a local program talking to a local queue manager, you don't need channels or a listener for that program to put and get messages.

But if you need remote programs or remote queue managers to talk to that local queue manager, you do need a listener.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jeevan
PostPosted: Sat Sep 02, 2006 10:11 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Jeff wrote
Quote:

So if you have a local program talking to a local queue manager, you don't need channels or a listener for that program to put and get messages.




By saying that areu you referring to binding mode? is that right? Or is there any other method an application can talk to a local queue manager?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sat Sep 02, 2006 10:22 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Yes Bindings Mode, which allows you to interact with a QM without going thru the listener. Versus Client Mode, which does require a listener, even if the Client Mode app is running on the same server.

All MQ apps fall into one of these 2 categories, no exceptions.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Listener not running
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.