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 » definition of MQ listener

Post new topic  Reply to topic
 definition of MQ listener « View previous topic :: View next topic » 
Author Message
ml_black
PostPosted: Tue Feb 17, 2004 10:04 am    Post subject: definition of MQ listener Reply with quote

Novice

Joined: 09 Feb 2004
Posts: 20

Hi.

Could someone explain to me what an MQ listener is? I can't find it in any of the documentation I have.

Thanks!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 17, 2004 10:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's a program that is running all of the time and using a Get with Wait.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Feb 17, 2004 10:54 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Jeff,

I think ml_black was referring to:
Quote:
Receiving channel programs are started in response to a startup request from the sending channel. To enable this to happen, a listener program must be started to detect incoming network requests and start the associated channel.


Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
ml_black
PostPosted: Tue Feb 17, 2004 10:54 am    Post subject: Reply with quote

Novice

Joined: 09 Feb 2004
Posts: 20

Thanks. I was hoping that's what it was.

Now, what is the advantage to using an MQ listener over coding an MQGET with WAIT loop right in my Java application? And is it simple to monitor a listener (i.e. set it up so that if the listener stops running then I know some error happened in my application so someone needs to investigate the problem)? I've been asked to make some kind of listener that can be monitored in this way.

Thanks!!
Back to top
View user's profile Send private message
ml_black
PostPosted: Tue Feb 17, 2004 10:56 am    Post subject: Reply with quote

Novice

Joined: 09 Feb 2004
Posts: 20

Yes, Eddie A. That is what I meant. We must have been posting replies at the same time.

So an MQ listener is only for some kind of connection purpose? Not similiar to a trigger at all?

Thanks.
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Feb 17, 2004 11:45 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The listener (runmqlsr, amqcrsta) is a program that listens on behalf of WMQ to move messages from one place to another. This can be the channel programs moving messages between qmgrs or it can be on behalf of the client when using a client connection to a qmgr.

It isn't related to triggering.

Because it is used on behalf of WMQ, the get with a wait is something that your application would do to pick up messages.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » definition of MQ listener
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.