activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <jbert...@apache.org>
Subject Re: How to remove inactive durable subscribers?
Date Wed, 13 Mar 2019 23:48:35 GMT
> I want a durable subscriber to be offline for a maximum of 10 minutes.
Any longer than that, and I want to remove it.

That much is pretty clear from the thread so far. What I'm trying to
understand is *why*. Why do you want to remove the subscription after 10
minutes? Are you concerned with messages building up in the subscription
and taking up too much memory? Please clarify.

> An alternate way to do this is probably set an expiry timer for every
message. That would work as well.

Setting an expiry on incoming messages is supported. If that fits your
use-case why not use that?


Justin

On Wed, Mar 13, 2019 at 5:47 PM artemisn00b <prahlad.misra@nokia.com> wrote:

> I want a durable subscriber to be offline for a maximum of 10 minutes. Any
> longer than that, and I want to remove it. I don't want to store any
> messages on the journal for it.
> An alternate way to do this is probably set an expiry timer for every
> message. That would work as well.
> I'm having a hard time understanding when exactly messages get stored in
> the
> journal vs pages also :/
>
> Thanks!
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>

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