Hi John,

did you check TimeToLive of the Messages in the queue?
At least for me this was the problem for a similar case.

Herbert





Von:    "John Lilley" <john.lil...@redpointglobal.com.INVALID>
An:     "users@activemq.apache.org" <users@activemq.apache.org>
Datum:  27.09.2022 14:40
Betreff:        [Ext] RE: Help getting Artemis to auto-delete empty/idle 
queues



Thanks
 






John Lilley 
Chief Architect, Redpoint Global Inc. 
888 Worcester Street, Suite 200 Wellesley, MA 02482 
M: +1 7209385761 | 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> 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
 
 





John Lilley 
Chief Architect, Redpoint Global Inc. 
888 Worcester Street, Suite 200 Wellesley, MA 02482 
M: +1 7209385761 | 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. [Anhang "broker.xml" 
gelöscht von Herbert Helmstreit/RG/SYSTEMA/DE] 



Reply via email to