activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: expiring active, idle Topic subscriptions
Date Thu, 19 Apr 2012 18:50:48 GMT
Have a look at


The idea is that it will disconnect the consumer or connection if some
timeout has been exceeded between acks and there are pending messages.
In other words when it appears very slow.

On 18 April 2012 20:10, artnaseef <> wrote:
> Is there a feature that can be used to expire active idle Topic subscriptions
> to prevent a Topic from overflowing?
> Note that the durable offline subscription expiration is a great feature,
> but not sufficient for this need.  Consumers that subscribe to a Topic
> (non-durable or durable) and then do not consume for long periods of time
> are the concern.
> Here's what I'm considering to implement:
> * Add-on feature to enable expiration of idle subscriptions (non-durable or
> durable)
> * Configurable destination filter to match destinations to which the feature
> is applied
> * Option of 2 actions:
> ** Discard the active subscriber only
> ** Disconnect the client session (entire connection?) which created the
> subscriber (perhaps using a client-supplied url-parm so clients can request
> this operation)
> The idea of disconnecting the client is to make sure the impacted client is
> given a clear indication of the problem.  Use cases in which clients perform
> startup and shutdown operations before and after the subscription could
> potentially automatically recover from conditions that cause the client to
> go idle in the first place.
> --
> View this message in context:
> Sent from the ActiveMQ - Dev mailing list archive at


View raw message