You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Dejan Bosanac <de...@nighttale.net> on 2011/06/15 10:21:13 UTC

Re: Detect empty Queue programmatically

Hi,

there's no such advisory at the moment, but you can create your own plugin
that could do that. See http://activemq.apache.org/developing-plugins.html for
more info

Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Jun 15, 2011 at 6:54 AM, Yuvaraj Vanarase <
yuvaraj.vanarase@synechron.com> wrote:

> Hi,
>
> I would like to fire some sql query when all messages are processed from
> Queue ie. Queue becomes empty. I do not want to poll the queue to see
> remaining messages. Is there any way by which activemq will deliever an
> event to some listener? Like we have advisory message listener.
>
> Regards,
> Yuvaraj
>
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 |
> http://www.synechron.com
> SYNECHRON -
> - Top 10 Best IT Employers for 4 consecutive years (link<
> http://www.synechron.com/news/news_best_employer_sep2010.htm>).
> - Celebrating 10 Years!
>
>