activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: remove DLQ message
Date Mon, 23 Dec 2013 18:11:33 GMT
Could you have a camel route or some process periodically consume the
DLQ and process them/ignore them?

Alternatively you could create a broker filter that sets a specific
expiration anytime (eg, 5 min or something) whenever a message is sent
to DLQ...

http://activemq.apache.org/interceptors.html

http://activemq.apache.org/maven/apidocs/org/apache/activemq/broker/BrokerFilter.html#sendToDeadLetterQueue(org.apache.activemq.broker.ConnectionContext,%20org.apache.activemq.broker.region.MessageReference,%20org.apache.activemq.broker.region.Subscription)



On Thu, Dec 19, 2013 at 2:16 AM, damon <damondeng@icil.net> wrote:
> Can I setup the expiration for the DLQ?   I want to keep the DLQ message for
> a period,
> but don't want to keep them all the time.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/remove-DLQ-message-tp4675686.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Mime
View raw message