Stomp uses named transactions so that many transactions can concurrently occur at the same time.
The client specifies the name and it is unique to that client.
so:
BEGIN transaction: tx1 ^@
then you can ack or send using the transaction
ACK message: ID:19283:wheeeee:1234 transaction: tx1 ^@
SEND destination: /queue/a transaction: tx1 hello queue a! ^@
ABORT transaction: tx1 ^@
Would "undo" the ack and send
Labels

1 Comment
Hide/Show CommentsNov 16, 2009
Hans Lellelid
It would be helpful to have a little more details on what an implementation needs to handle as far as transactions go. Perhaps much of this can be left up to implementation developers; however, I can imagine that users would find some of this clarified here. A few specific questions I have (I apologize in advance if these are naive):
Thanks!