activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Detect empty Queue programmatically
Date Wed, 15 Jun 2011 08:21:13 GMT
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!
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message