activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmagoyrk <Clayton.Magou...@hilton.com>
Subject Re: Dead Letter Queue
Date Mon, 03 Dec 2007 15:54:09 GMT

I can implement that logic into my client, essentially each queue having it's
own error queue, but then what is the purpose of the Dead Letter Queue?


James.Strachan wrote:
> 
> On 03/12/2007, cmagoyrk <Clayton.Magouyrk@hilton.com> wrote:
>>
>> I am using Client Acknowledgement with prefetch size set to one.  A
>> client
>> reads a message, decides that the message is invalid, and would like to
>> Nack
>> it.  I do not know how to Nack the message (send a Poison Ack) back to
>> the
>> Queue.  For reference I am trying to do this from a perl application
>> using
>> STOMP.
> 
> Typically you NAK a message by sending it to some bad message
> destination; i.e. you still consume it.
> 
> If its a transient error (such as you can't talk to a database just
> yet or something) you could ROLLBACK a transaction instead?
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Dead-Letter-Queue-tf4937253s2354.html#a14132694
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message