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