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 (automatically) activate Discarding DLQ Broker PLugin
Date Tue, 28 Jul 2009 11:22:52 GMT


On 28 Jul 2009, at 10:35, moreno9000 wrote:

>
> Hi all,
> I have a Producer that sends 250 messages to QUEUE_01.
> Messages expire after 30 seconds.
> AMQ 5.2 is configured to use Discarding DLQ Broker Plugin.
> After 30 seconds I expect messages to be sent to DLQueue
> and immediately discarded.
>
> This doesn't happen :-(
>
> More exactly, it happens only when I "browse" QUEUE_01 with AMQ web  
> console.
> QUEUE_01 is empty and, at the same time, DLQ is not present (in  
> activemq.log
> file
> I see discarding plugin activation).
>
> Is it possible to activate the plugin without having to browse  
> QUEUE_01
> with the console ?
>
> Many thanks in advance,
> Moreno
> -- 
> View this message in context: http://www.nabble.com/How-to-%28automatically%29-activate-Discarding-DLQ-Broker-PLugin-tp24695829p24695829.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

As an aside - if you don't want expired messages in your DLQ - just  
set the property on the dead letter strategy - processExpired = false

cheers,

Rob

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/





Mime
View raw message