You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by andrewk <an...@prx.org> on 2008/02/02 23:36:21 UTC

Re: Dead Letter Queue

In stomp, my understanding was that transactions affect sending of messages
but not receiving.
How would you ROLLBACK receiving a message in stomp (I haven't seen any
examples of this)?

Cheers,
-Andrew Kuklewicz


James.Strachan wrote:
> 
> On 03/12/2007, cmagoyrk <Cl...@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-tp14132132s2354p15248158.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.