|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
What is a JMS listener? |
« View previous topic :: View next topic » |
Author |
Message
|
cwchow |
Posted: Thu Jan 23, 2003 2:13 pm Post subject: What is a JMS listener? |
|
|
Novice
Joined: 29 Apr 2002 Posts: 13
|
Is JMS listener perform similiar function as mq's message triggering? |
|
Back to top |
|
 |
kdavis |
Posted: Tue Feb 04, 2003 8:41 am Post subject: |
|
|
Novice
Joined: 09 Dec 2002 Posts: 13
|
In a very general way, yes. The JMSListener is registers it self as a called object (via a Java callback) so you don't need to poll the JMS session to see if there are messages waiting. Basically, the JMSListener says "when you get a message on this topic (or queue), call MY onMessage() method and pass me that message."
It differs from a trigger in that it's intended function to to process that message, where a trigger might what to start another process when a system queue gets a message, one that doesn't care about the content of the message. Also, at a high level, a trigger is a management oriented idea, where as the message listener is messaging oriented. |
|
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
|
|
|
|