activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drvillo <>
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


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:
Sent from the ActiveMQ - User mailing list archive at

View raw message