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
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