Thanks



[rg] <https://www.redpointglobal.com/>

John Lilley

Chief Architect, Redpoint Global Inc.

888 Worcester Street, Suite 200 Wellesley, MA 02482

M: +1 7209385761<tel:+1%207209385761> | 
john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com>
From: Justin Bertram <jbert...@apache.org>
Sent: Monday, September 26, 2022 9:03 PM
To: users@activemq.apache.org
Subject: Re: Help getting Artemis to auto-delete empty/idle queues

*** [Caution] This email is from an external source. Please use caution 
responding, opening attachments or clicking embedded links. ***

For what it's worth, screenshots (or any attachment for that matter) don't come 
through the on mailing list.

Can you provide your full broker.xml?


Justin

On Mon, Sep 26, 2022 at 5:40 PM John Lilley 
<john.lil...@redpointglobal.com.invalid<mailto: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



[rg]<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.redpointglobal.com%2f&c=E,1,Vy9X1TRTDN04YN2Su66QRPc8a71pjdyfHEjWkYgBslrv6bzZJy-YPdQFSd9o-dlCWcWpIRGvz4Y37vvLzA8Wd_Iq1ajmzdwmshmGp-w0D_6VWZgI&typo=1>

John Lilley

Chief Architect, Redpoint Global Inc.

888 Worcester Street, Suite 200 Wellesley, MA 02482

M: +1 7209385761<tel:+1%207209385761> | 
john.lil...@redpointglobal.com<mailto: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.

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.

Attachment: broker.xml
Description: broker.xml

Reply via email to