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.

Reply via email to