On Sep 16, 2013, at 2:48 PM, Marinad wrote: > I'm using ActiveMQ 5.8.0 > > I send messages with TTL to queue. But after an exhausted retry messages in > DLQ are without TTL.
Correct. You generally don't want a TTL on the msgs moved to DLQ so you can examine why they have failed later. > > How to configure TTL for messages in DLQ? Not sure there is a way but there is a broker plugin that can clean the DLQ periodically. See the section "The Discarding DLQ Plugin" on http://activemq.apache.org/message-redelivery-and-dlq-handling.html Hope this helps. Regards, Torsten Mielke [email protected] tmielke.blogspot.com
