You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Anselmo Abadía <an...@gmail.com> on 2008/02/27 11:50:07 UTC
ActiveMQ.DLQ and maxiumRedeliveries
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-tp15710748s2354p15710748.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ.DLQ and maxiumRedeliveries
Posted by Anselmo Abadía <an...@gmail.com>.
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.
Re: ActiveMQ.DLQ and maxiumRedeliveries
Posted by Fred D <fr...@ttmsolutions.com>.
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-tp15710748s2354p15729133.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.