activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drvillo <f.viv...@gmail.com>
Subject Re: How to Pause/Resume a MessageListener?
Date Mon, 08 Jan 2007 08:40:00 GMT

How about calling JCAConnector.destroy()/start()?

it stops the whole endpoint, but if you have stateless listeners that
shouldn't make
too much of a difference

cheers
Francesco


nlif wrote:
> 
> 
> Thanks for the reply. However, my problem is with asych consumers - a
> MessageListener doesn't "know" its connection, session etc. It is a
> passive component. I need a way to tell the container (be it Jencks or
> whatever) to stop/resume. I really find it hard to believe there would be
> no API to do that... 
> 

-- 
View this message in context: http://www.nabble.com/How-to-Pause-Resume-a-MessageListener--tf2902158.html#a8214262
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message