This content has been marked as final.
Show 1 reply
-
1. Re: STOMP interface does not support atomicity with transactions?
pedroneveu Oct 16, 2009 5:31 PM (in response to any2xml)Hi any2xml,
As I understand it, once you are in the context of a transaction everything you do (like SEND, COMMIT, ABORT, and ACK) has to be in that context.
So, in your example you would have to send your message in the context of transaction TRAN03, like this:
^@
SEND
destination: /queue/this.should.not.be.there
transaction: TRAN03
this message should not reach the destination
^@
In that case if you abort you will have sent the message "this message should not reach the destination".
"SEND" outside of the context of TRAN03 is not committed to adhere to that transaction.
Have I understood your question or were you talking about something else?
Pedro