activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: DLQ?
Date Mon, 21 Aug 2006 13:50:35 GMT
You need to force messages to be redelivered more than the redelivery
policy to force things to be sent to the DLQ. The easiest way to do
this is to use a transacted session and do lots of rollback() calls.

On 8/21/06, Rickard <> wrote:
> I would like to setup a broker to send all broken messages (e.g broken XML)
> to the DLQ.
> I have tried to configure the broker with
> <deadLetterStrategy><sharedDeadLetterStrategy/></deadLetterStrategy>
in a
> policyEntry for that topic.
> I'm using CLIENT_ACKNOWLEDGE mode on the session and never runs an
> acknowledge() on the consumer.
> I've setup a consumer on SharedDeadLetterStrategy.getDeadLetterQueue() but
> it never receives a message.
> How can this be done, and are DLQs for this kind of thing?
> --
> View this message in context:
> Sent from the ActiveMQ - User forum at



View raw message