activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Message send to DLQ
Date Wed, 13 Nov 2013 14:11:58 GMT
Use the dead letter strategy to clear these expiry messages:

<!-- Set the following policy on all queues using the '>' wildcard -->
<policyEntry queue=">">
Tell the dead letter strategy not to process expired messages
so that they will just be discarded instead of being sent to
the DLQ
<sharedDeadLetterStrategy processExpired="false" />


Barry Barnett
WMQ Enterprise Services & Solutions
Wells Fargo
Cell: 704-564-5501

-----Original Message-----
From: Torsten Mielke [] 
Sent: Tuesday, November 12, 2013 11:06 AM
Subject: Re: Message send to DLQ

On Nov 8, 2013, at 15:41 PM, Sophia Wright wrote:

> Hey,
> Please correct me if I am wrong...
> When a  message is expired, it is sent to the DLQ by default. And 
> before sending it to DLQ, it's expiration time is set to '0' which 
> means message never expires and also it is converted to a persistence 
> message, even if it is non persistence.

Not entirely sure but would have thought non-persistent expired messages are simply deleted
by the broker and not moved to DLQ?
The rest of your claim is correct. 


Torsten Mielke

View raw message