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 14:34:33 GMT

On 28 Jul 2009, at 14:56, moreno9000 wrote:

>
> Thank you Rob.
>
> With processExpired=false I don't need DLQ, but expired messages
> are really deleted from file system only when I "browse" QUEUE_01
> with AMQ web console.
>
> Is it possible to eliminate expired messages from file system
> without web console interaction ?
>
> Moreno
>
Yes - it should be in 5.3 - see http://issues.apache.org/activemq/browse/AMQ-1112

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/
>
>
> rajdavies wrote:
>>
>>
>>
>> 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/
>>
>>
>>
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/How-to-%28automatically%29-activate-Discarding-DLQ-Broker-PLugin-tp24695829p24698097.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>







Mime
View raw message