activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wuxz <wo...@hotmail.com>
Subject Re: How to (automatically) activate Discarding DLQ Broker PLugin
Date Wed, 29 Jul 2009 09:59:43 GMT



rajdavies wrote:
> 
> see http://activemq.apache.org/message-redelivery-and-dlq-handling.html
> 
> On 29 Jul 2009, at 10:49, wuxz wrote:
> 
>>
>>
>> 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/
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> But how to set the dead letter strategy? I can not find this section  
>> in
>> default config file.
>>
>> Thanks.
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-%28automatically%29-activate-Discarding-DLQ-Broker-PLugin-tp24695829p24715941.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> Rob Davies
> I work here: http://fusesource.com
> My Blog: http://rajdavies.blogspot.com/
> I'm writing this: http://www.manning.com/snyder/
> 
> 
> 
> 
> 
> 

Thank you.
-- 
View this message in context: http://www.nabble.com/How-to-%28automatically%29-activate-Discarding-DLQ-Broker-PLugin-tp24695829p24716088.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message