activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: How to configure discarding of messages which are sent to ActiveMQ.DLQ?
Date Wed, 03 Dec 2008 10:46:44 GMT



On 3 Dec 2008, at 09:08, kruthoff wrote:

>
> I'd like to use a new feature of 5.2:
> http://activemq.apache.org/new-features-in-52.html
>
> -> Ability to configure the automatic discarding of the items being  
> sent to
> the dead letter queue
>
> The goal is to get activemq to discard expired queue destination  
> messages.
> They're in the DLQ, but I want them to be purged automatically.
>
> How can I configure this, maybe in activemq.xml? I'm sure the answer  
> is
> simple but I didn't yet find anything in the forums.
>
> Thanks for a little howto!
>
> -andreas
>
> -- 
> View this message in context: http://www.nabble.com/How-to-configure-discarding-of-messages-which-are-sent-to-ActiveMQ.DLQ--tp20809201p20809201.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Weird - not sure about that one - would like to know myself :)
You can set properties on a dead letter strategy to ignore non- 
persistent  (processNonPersistent=false) and expired  
(processExpired=true)
see http://activemq.apache.org/message-redelivery-and-dlq-handling.html



cheers,

Rob

http://fusesource.com
http://rajdavies.blogspot.com/


Mime
View raw message