There is an address settings to auto delete.
As far as I know activemq didn’t do auto delete. Only auto create ? But we have a setting for that in the address settings. On Mon, Sep 26, 2022 at 6:40 PM John Lilley <john.lil...@redpointglobal.com.invalid> wrote: > We have a JMS-based application and are trying to upgrade from ActiveMQ > 5.15 to Artemis. > > However, I cannot seem to make Artemis auto-delete queues created by our > application. On the console, it seems pretty clear that the queues are > empty and idle: > > > > I’ve set everything I could think of in broker.xml to induce > garbage-collection: > > <auto-create-queues>true</auto-create-queues> > > <auto-create-addresses>true</auto-create-addresses> > > <auto-delete-queues>true</auto-delete-queues> > > <auto-delete-addresses>true</auto-delete-addresses> > > <auto-delete-created-queues>true</auto-delete-created-queues> > > <auto-delete-jms-queues>true</auto-delete-jms-queues> > > <auto-delete-queues-message-count>0</auto-delete-queues-message-count> > > > > And > > <address-queue-scan-period>10000</address-queue-scan-period> > > > > But nothing seems to matter, and I cannot find anything useful in the logs > with level set to TRACE. I do see a lot of entries like this: > > 2022-09-26 16:27:58,185 DEBUG > [org.apache.activemq.artemis.core.server.impl.QueueImpl] Scanning for > expires on rpdm_test_ddae4a8d405b48c2a8d2d7395d9fba31 > > 2022-09-26 16:27:58,186 DEBUG > [org.apache.activemq.artemis.core.server.impl.QueueImpl] Scanning for > expires on rpdm_test_ddae4a8d405b48c2a8d2d7395d9fba31 done > > But nothing that seems related to queue cleanup. > > > > Environment: > > Windows 10 > > OpenJDK 17 > > > > Maven dependency for Artemis JMS: > > <*dependency*> > <*groupId*>org.apache.activemq</*groupId*> > <*artifactId*>artemis-jms-client-all</*artifactId*> > <*version*>2.24.0</*version*> > </*dependency*> > > Any help appreciated! > > John > > > > [image: rg] <https://www.redpointglobal.com/> > > John Lilley > > Chief Architect, Redpoint Global Inc. > > 888 Worcester Street, Suite 200 Wellesley, MA 02482 > <https://www.google.com/maps/search/888+Worcester+Street,+Suite+200+Wellesley,+MA+02482?entry=gmail&source=g> > > *M: *+1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com > > PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is > confidential and is intended solely for the use of the individual(s) to > whom it is addressed. If you believe you received this e-mail in error, > please notify the sender immediately, delete the e-mail from your computer > and do not copy, print or disclose it to anyone else. If you properly > received this e-mail as a customer, partner or vendor of Redpoint, you > should maintain its contents in confidence subject to the terms and > conditions of your agreement(s) with Redpoint. > -- Clebert Suconic