activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anselmo Abadía <anselmo.aba...@gmail.com>
Subject Re: ActiveMQ.DLQ and maxiumRedeliveries
Date Thu, 28 Feb 2008 10:09:45 GMT

Thank you!.


Fred D wrote:
> 
> I believe you should set maximumRedeliveries to -1 ... this effectively
> defines an infinite number of redeliveries ....
> http://activemq.apache.org/redelivery-policy.html
> 
> You can set this in the activemq.xml config file in the /conf directory if
> that is the config you use.
> 
> You can try the following snippet setting your queue name ... 
> 
> 
> <destinationPolicy>
>       <policyMap>
>            <policyEntries>
>         
>              <policyEntry queue="FOO">            
>                <redeliveryPolicy	maximumRedeliveries=-1>
>                                  
>                </redeliveryPolicy>
>             </policyEntry>
> 
>          </policyEntries>
>      </policyMap>
>   </destinationPolicy>
> 
> 
> 
> Fred
> 
> www.ttmsolutions.com   
> 
> 
> 
> 
> Anselmo Abadía wrote:
>> 
>> Hi, I´m using ActiveMQ 5. I need to disable ActiveMQ.DLQ queue. I've read
>> in another post that it's possible setting the maxiumRedeliveries to 1,
>> but, I don´t know the place that I have to set it on. Can anybody help
>> me?
>> 
>> Thanks, Anselmo
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQ.DLQ-and-maxiumRedeliveries-tp15710748s2354p15733385.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message