3.6 Manage XA Transactions
- Set Transaction Timeout
Specify the time period for which a request sent from the XA participant services remains active. If a transaction is not committed or rolled back within the specified time period, the transaction is rolled back. - About Global and Local Transactions
When a transaction initiator service makes a call to MicroTx Distributed Transactions to begin an XA transaction, by default this transaction is handled as a global transaction. - About Asynchronous Calls to Participant Apps
The MicroTx Distributed Transactions library supports asynchronous calls from an XA transaction initiator application to participant applications. This improves performance when the initiator must call multiple participant services, because the calls can run concurrently instead of sequentially. - Subscribe to Receive XA Transaction Notifications
You can register your transaction initiator and participant services to receive notifications. MicroTx Distributed Transactions notifies the registered services when the following events occur: before the prepare phase and when MicroTx Distributed Transactions successfully commits or rolls back a transaction.
Parent topic: Develop Applications with XA