Hi Thai, TL; DR; if auto-delete-queues-delay is set to 5 min and one of the consumers is reconnected after 2 min the queue is not deleted.
A queue is deleted only if the broker successfully checks the criteria (auto-delete-queues-delay/auto-delete-queues-message-count[1]) for 2 consecutive times. The check is executed each address-queue-scan-period. [1] https://activemq.apache.org/components/artemis/documentation/latest/address-settings.html Regards, Domenico On Thu, 13 Apr 2023 at 00:07, Thai Le <lnthai2...@gmail.com> wrote: > Hello, > > If a queue 's consumers are disconnected for more than 30 sec then the > queue will be marked for delete (default address-queue-scan-period is 30 > sec). However, if auto-delete-queues-delay is set to 5 min and one of the > consumers is reconnected after 2 min would the queue still be deleted? > > Regards > Thai Le > -- > Where there is will, there is a way >