activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sic <>
Subject DLQ Handling
Date Tue, 25 May 2010 01:35:27 GMT

I'm using 5.2.0 and transfer data with queue.

In this state, when consumer failed to get messages from the broker, the
messages are moved by individualDeadLetterStrategy.
here is my broker configuration:

      <amq:policyEntry queue=">" memoryLimit="50mb">
            queuePrefix="DLQ." useQueueForQueueMessages="true"/>

But I hope that failed messages aren't just staying DLQ, they are moved to
the end of the original queue and redelivered to the consumer. Having said
that, failed messages cannot be continuously stuck to the first of the
original queue in order to process other messages normally(i.e. I want to
send failed messages to the end of the original queue).
fail to consume -> DLQ -> move to the end of original queue -> <reprocess>
-> <success>
so I try using a composite queue.
  <amq:compositeQueue name="DLQ.FOO">
	  <amq:queue physicalName="FOO" />

Despite my expectation, messages moved to the original queue can't be
reprocessed by any consumers no longer, just seem to increase inflight

Any misconception about the DLQ handling for me or alternative ways?

appreciate any comments about this subject.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message