> 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.mi...@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 >