activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
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 <echion@joshua.haninge.kth.se> 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: http://www.nabble.com/DLQ--tf2140276.html#a5907002
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message