Re: messages not moved to DLQ

2023-09-13 Thread Andreas Lanzl
Justin, thx a lot. that did it! From: Justin Bertram Sent: Wednesday, September 13, 2023 18:02 To: users@activemq.apache.org Subject: Re: messages not moved to DLQ [You don't often get email from jbert...@apache.org. Learn why this is important at

Re: messages not moved to DLQ

2023-09-13 Thread Justin Bertram
In order to register the delivery attempt you need to acknowledge the message, e.g.: while(true) { System.out.println("waiting for message"); ClientMessage rec = consumer.receive(5000); if(rec == null) break; rec.acknowledge(); System.out.println(rec.getStringProp

messages not moved to DLQ

2023-09-13 Thread Andreas Lanzl
Hi all. I'm trying to test the DLQ function in artemis V 2.30.0 but i can't get it working. My setup is like so: running artemis inside docker container with default configuration. According to the docs the max-delivery-attempts is by default 10. below is a little test programm written in java