RE: Problem with Artemis auto-delete queues

2022-11-03 Thread Vilius Šumskas
P.S. You probably will need to remove (ignore) system addresses, like activemq.management, from the addresses.txt in order to keep them. -- Vilius From: Vilius Šumskas Sent: Friday, November 4, 2022 8:24 AM To: users@activemq.apache.org Subject: RE: Problem with Artemis auto-delete queues

RE: Problem with Artemis auto-delete queues

2022-11-03 Thread Vilius Šumskas
Hi, we needed similar cleanup being made on our testing environment, but to keep data folder, so we have used this script: /var/lib/artemis/bin/artemis address show --url tcp://localhost:61616 --user admin --password adminpassword > addresses.txt while read -r queue; do ./artemis queue delete -

RE: How to purge all queues in Artemis

2022-11-03 Thread John Lilley
Hi Justin, Thanks for the reply! I will just delete the data folder. That seems to be the easiest thing. “Nuke it from orbit. It’s the only way to be sure.” John [rg] John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Stre

RE: Problem with Artemis auto-delete queues

2022-11-03 Thread John Lilley
Hi Clebert, The problem is not that auto-delete settings aren’t being honored. That is working fine, and queues are being auto-deleted. The problem seems to be that a queue is auto-deleted even when there is a JMS producer active (but no consumers). When the producer places a message on the

RE: Problem with Artemis auto-delete queues

2022-11-03 Thread John Lilley
Hi Justin, My dependency is org.apache.activemq artemis-jms-client-all 2.26.0 The artemis server I am running is 2-24.0 OS is Windows. Thanks John [rg] John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street,

Re: Problem with Artemis auto-delete queues

2022-11-03 Thread Justin Bertram
Which JMS client are you using? Justin On Tue, Nov 1, 2022 at 7:58 PM John Lilley wrote: > Greetings, > > > > In our migration from AMQ classic to Artemis, I believe that I’ve found a > problem. This is all using JMS and Artemis 2.24. It would seem that the > following can happen: > >-

Re: How to purge all queues in Artemis

2022-11-03 Thread Justin Bertram
How clean of a slate do you want? Do you want to leave all the addresses and queues but get rid of all the messages or just get rid of everything? If you want to just blow everything away you can delete the "data" directory (where the journal is stored), but you'd have to stop the broker first. Yo

How to purge all queues in Artemis

2022-11-03 Thread John Lilley
Greetings! In AMQ classic I would run the handy CLI “activemq purge” in development to start with a clean slate. How can I do this in Artemis? Thanks John [rg] John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street, Suite 200