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 <[EMAIL PROTECTED]> 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.

Reply via email to