Hi, we are  using active-mq since 4.0.1 and in version 5 we are getting dead queue problems, the weird thing is we do not use queues, we use topic in a publisher subscriber architecture.
Our session is NOT transacted and we use auto-acknowledge and never call recover from a session.

Here is what the broker logs:

WARN  RegionBroker                   - Failed to send ActiveMQMessage {commandId
 = 5, responseRequired = false, messageId = ID:Cabral-3367-1203533511437-0:0:1:1
:1, originalDestination = null, originalTransactionId = null, producerId = ID:Ca
bral-3367-1203533511437-0:0:1:1, destination = topic://NMS, transactionId = null
, expiration = 1203533571859, timestamp = 1203533511859, arrival = 0, brokerInTi
me = 1203533582781, brokerOutTime = 0, correlationId = null, replyTo = null, per
sistent = false, type = null, priority = 4, groupID = null, groupSequence = 0, t
argetConsumerId = null, compressed = false, userID = null, content = null, marsh
alledProperties = [EMAIL PROTECTED], dataStructure =
null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = f
alse, readOnlyBody = false, droppable = false} to dead letter queue

If we change to older version of activemq this problem disappears and all subscribers receive this message.

I sent a reply here becouse I thought I can disable dead-queue too but I dont have a queue and got an error when I try to disable.

------------------------

Anselmo Abadía escreveu:
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

      
    

  

Reply via email to