|
Summary: Starting, committing, rolling back; sending/consuming messages under local transaction; avoiding redelivery loops.
OverviewA transaction lets you send or consume a set of messages in one operation. The effect is that either all or none of the messages are processed. Whenever messages are consumed in a transaction, the client only acknowledges the consuming of these messages when the transaction is committed. But if the transaction is rolled back, the messages are not acknowledged. The GigaSpaces Real Time Data Bus supports both local and global transactions. The following section explains about local transactions. A local transaction is the simpler of the two since it only involves messages produced and consumed within the session alone. In contrast, a global transaction can include multiple JMS sessions together with multiple databases. Support for local transactions in the GigaSpaces Real Time Data Bus is implemented using the native facilities of the underlying messaging product. If such products do not support transactions, the GigaSpaces Real Time Data Bus framework itself will support them. More in this Section |
Wiki Content Tree
Your Feedback Needed!
We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.
Add Comment