activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: Remove message queue after a day with or with or without a message
Date Mon, 23 Sep 2013 22:26:41 GMT
i think in your case, it might be best to use gcInactiveDestination w/ TTL
on the message as gary suggests.

You should be able to build up your own monitoring solution using Advisory
messages, and tracking how long dests have been idle. Again, camel would be
suitable for this.

It might also make sense to expose the "isActive" method via JMX as well as
allow gc the destination if it's inactive and has messages. You can open a
JIRA for that.

On Mon, Sep 23, 2013 at 12:59 PM, wcpolicarpio <> wrote:

> Thank you Christian and Gary for responding to my question. Sorry, I forgot
> to mention that the destination should be idle for a period of time, let
> say
> a day. Is there a way to know how long the destination is idle before
> deleting?
> gcInactiveDestination only works when there are no pending messages and
> connected consumers.
> Regards
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

*Christian Posta*
twitter: @christianposta

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