Author |
Message
|
ml_black |
Posted: Tue Feb 17, 2004 10:04 am Post subject: definition of MQ listener |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Feb 17, 2004 10:34 am Post subject: |
|
|
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 |
|
 |
EddieA |
Posted: Tue Feb 17, 2004 10:54 am Post subject: |
|
|
 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 |
|
 |
ml_black |
Posted: Tue Feb 17, 2004 10:54 am Post subject: |
|
|
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 |
|
 |
ml_black |
Posted: Tue Feb 17, 2004 10:56 am Post subject: |
|
|
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 |
|
 |
bower5932 |
Posted: Tue Feb 17, 2004 11:45 am Post subject: |
|
|
 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 |
|
 |
|