activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Datacom - Marcelo <>
Subject Re: ActiveMQ.DLQ and maxiumRedeliveries
Date Fri, 29 Feb 2008 17:21:46 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
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. <br>
Our session is NOT transacted and we use auto-acknowledge and never
call recover from a session.<br>
Here is what the broker logs:<br>
WARN  RegionBroker                   - Failed to send ActiveMQMessage
 = 5, responseRequired = false, messageId =
:1, originalDestination = null, originalTransactionId = null,
producerId = ID:Ca<br>
bral-3367-1203533511437-0:0:1:1, destination = topic://NMS,
transactionId = null<br>
, expiration = 1203533571859, timestamp = 1203533511859, arrival = 0,
me = 1203533582781, brokerOutTime = 0, correlationId = null, replyTo =
null, per<br>
sistent = false, type = null, priority = 4, groupID = null,
groupSequence = 0, t<br>
argetConsumerId = null, compressed = false, userID = null, content =
null, marsh<br>
alledProperties = org.apache.activemq.util.ByteSequence@fd1810,
dataStructure =<br>
null, redeliveryCounter = 0, size = 0, properties = null,
readOnlyProperties = f<br>
alse, readOnlyBody = false, droppable = false} to dead letter queue<br>
If we change to older version of activemq this problem disappears and
all subscribers receive this message.<br>
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.<br>
Anselmo Abadía escreveu:
<blockquote cite="" type="cite">
  <pre wrap="">Thank you!.

Fred D wrote:
  <blockquote type="cite">
    <pre wrap="">I believe you should set maximumRedeliveries to -1 ... this effectively
defines an infinite number of redeliveries ....
<a class="moz-txt-link-freetext" href=""></a>

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 ... 

             &lt;policyEntry queue="FOO"&gt;            
               &lt;redeliveryPolicy	maximumRedeliveries=-1&gt;



<a class="moz-txt-link-abbreviated" href=""></a>

Anselmo Abadía wrote:
    <blockquote type="cite">
      <pre wrap="">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

Thanks, Anselmo

    <pre wrap="">
  <pre wrap=""><!---->

View raw message