The queues are all empty.
Thanks
john



[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: herbert.helmstr...@systema.com <herbert.helmstr...@systema.com>
Sent: Tuesday, September 27, 2022 8:23 AM
To: users@activemq.apache.org
Subject: Antwort: [Ext] 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. ***

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
________________________________

Herbert Helmstreit
Dipl.-Phys.
Software Engineer

[SYSTEMA 
Logo]<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.systema.com&c=E,1,Y7JePCXq8NZPvofD1UtIG94Td1S00vb1lDGAhUvd0r17Bm6Ww-XPQEzKdFvRPI-nsCKHBsPtgXdNGiqZXnR0g6gvyXc4KAPFd9CGQTnaIxgr7nFd2S-b&typo=1>

Phone: +49 941 / 7 83 92 36
Fax: +49 351 / 88 24 772

herbert.helmstr...@systema.com<mailto:herbert.helmstr...@systema.com> | 
www.systema.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.systema.com%2f&c=E,1,qZXJJ3_gOjAg00bm3YKTp9_KZCG4HWt2B15tE4N7VY6Qo5eTvtsBS_18f7tCU49wk4V10BlYzbWxY2z_IHd0nwoCyFh0gQBXTh4NTRzg&typo=1>

[LinkedIn]<https://www.linkedin.com/company/systema-gmbh/>[Facebook]<https://de-de.facebook.com/SYSTEMA.automation/>[XING]<https://www.xing.com/pages/systemagmbh>

SYSTEMA Systementwicklung Dipl.-Inf. Manfred Austen GmbH
Schikanederstraße 2b - Posthof | 93053 Regensburg
HRB 11256 Amtsgericht Dresden | USt.-ID DE 159 607 786
Geschäftsführer: Manfred Austen, CEO und Dr. Ulf Martin, COO




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


Thanks



[rg]<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.redpointglobal.com%2f&c=E,1,ji7guvhZbCpjKdE3qCSc3KvmiuXbkc8UKYDtL6umLz1xG4zGOayyPcMnA0ihKFB5Gz5ETQwmj-QqAcbWh153exxrYuIDlmIEdyyk09vj1X2aBfnZf25jSw,,&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>

From: Justin Bertram <jbert...@apache.org<mailto:jbert...@apache.org>>
Sent: Monday, September 26, 2022 9:03 PM
To: users@activemq.apache.org<mailto: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





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. [Anhang "broker.xml" gelöscht von Herbert Helmstreit/RG/SYSTEMA/DE]


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.

Reply via email to