You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Illia <si...@gmail.com> on 2025/11/18 09:41:13 UTC

[activemq-artemis 2.42.0] Auto-delete doesn't work for queues that never had any consumers connected

Hi Team!
I have noticed that auto-created queues are not auto-deleted if no
consumers ever connected to them, even after the auto-delete-queues-delay
has passed and with auto-delete-queues flag set to true.
Is there a way to auto-delete such queues?

Thanks! Best regards.

Re: [activemq-artemis 2.42.0] Auto-delete doesn't work for queues that never had any consumers connected

Posted by Illia <si...@gmail.com>.
Thank you.

вт, 18 нояб. 2025 г. в 15:08, Justin Bertram <jb...@apache.org>:

> You can disable the default usage check using this in a matching
> address-setting:
>
>
>
> <auto-delete-queues-skip-usage-check>false</auto-delete-queues-skip-usage-check>
>
> See more details in the documentation [1].
>
>
> Justin
>
> [1]
>
> https://activemq.apache.org/components/artemis/documentation/latest/address-settings.html#address-settings
>
> On Tue, Nov 18, 2025 at 3:43 AM Illia <si...@gmail.com> wrote:
>
> > Hi Team!
> > I have noticed that auto-created queues are not auto-deleted if no
> > consumers ever connected to them, even after the auto-delete-queues-delay
> > has passed and with auto-delete-queues flag set to true.
> > Is there a way to auto-delete such queues?
> >
> > Thanks! Best regards.
> >
>

Re: [activemq-artemis 2.42.0] Auto-delete doesn't work for queues that never had any consumers connected

Posted by Justin Bertram <jb...@apache.org>.
You can disable the default usage check using this in a matching
address-setting:


  <auto-delete-queues-skip-usage-check>false</auto-delete-queues-skip-usage-check>

See more details in the documentation [1].


Justin

[1]
https://activemq.apache.org/components/artemis/documentation/latest/address-settings.html#address-settings

On Tue, Nov 18, 2025 at 3:43 AM Illia <si...@gmail.com> wrote:

> Hi Team!
> I have noticed that auto-created queues are not auto-deleted if no
> consumers ever connected to them, even after the auto-delete-queues-delay
> has passed and with auto-delete-queues flag set to true.
> Is there a way to auto-delete such queues?
>
> Thanks! Best regards.
>