Listening to a Queue
1 posts in topic
Flat View  Flat View

Posted By:   Prasanna_N
Posted On:   Tuesday, April 3, 2007 05:42 AM

Is there a way I can listen to a P2P Queue whenever a message is added without removing the message?

Re: Listening to a Queue

Posted By:   Anonymous  
Posted On:   Tuesday, April 3, 2007 07:06 AM

Hi Prasanna,

You can use the MessageDrivenBean as a Listener to the QUEUE.So when ever a message arrives to the QUEUE the onMessage() method of the MessageDrivenBean will be fired and there you can write the backend logic.
About | Sitemap | Contact