You should be able to remove the subscription queue with the right
combination of address-settings. I've got a few questions to clarify the
use-case a bit:

 - What protocol is the durable subscriber using?
 - What version of ActiveMQ Artemis are you using?
 - What are all of your existing address-settings for the address in
question?
 - What purpose would setting the connection-ttl-override serve here? Is
the subscriber connected but idle? Is the subscriber's connection broken
but the broker doesn't realize it?


Justin

On Tue, Apr 18, 2023 at 11:20 AM Thai Le <lnthai2...@gmail.com> wrote:

> Hello,
> I would like to auto unsubscribe a durable subscription from a
> multicast address when the consumer(subscriber) is offline for more than 5
> min. I see in activemq classic there is a offlineDurableSubscriberTimeout
> config that do just what i need. However it is not available in artemis. Is
> there another way to achieve this?
> I have tried setting connection-ttl-override=300000,
> auto-delete-queues=true, auto-delete-queues-message-count=-1 on the broker
> hopping that it would see the consumer/subscriber disconnected for more
> than 5 min and cleanup the connection thus effectively delete the
> subscription queue but it did not
> --
> Where there is will, there is a way
>

Reply via email to