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: Dead Letter Queue
Date Mon, 03 Dec 2007 15:41:48 GMT
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

Mime
View raw message