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 <[EMAIL PROTECTED]> 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/
  • DLQ? Rickard
    • Re: DLQ? James Strachan

Reply via email to