Multi resources transaction demarcation
Mule EE provides support for multiple resources transaction demarcation.
- xa-transactional element: Supports transaction demarcation by using XA transactions
- multi-transactional element: Supports transaction demarcation by musing mule built-in multi transactions.
By default, when using multi resource transaction demarcation, any transactional outbound endpoint will be executed within the same transaction.
How to use XA transactions
To use XA transactions use the xa-transactional element present in the EE namespace.
In case that there's already an XA transaction in context, the transaction will be suspended and then resumed after leaving the xa-transactional element.
How to use multi transactions
To use multi transaction use the multi-transactional element present in the EE namespace.