Universal Messaging 10.11 | Developer Guide | Enterprise APIs | Enterprise Developer's Guide for Java | Provider for JMS | Support for XA Transactions
 
Support for XA Transactions
Universal Messaging is a non-XA resource and manages its own transactions within the boundaries of a single topic or queue, i.e. a local transaction. A local transaction allows multiple messages to be published and/or subscribed to on a single queue or topic and then committed or rolled back.
For transactional behaviour where multiple resources are involved, including non-Universal Messaging resources, it is possible to include Universal Messaging if:
*there is a single Universal Messaging step as part of the multi-part XA transaction.
*the Universal Messaging step is the first step to be committed.
In this instance the rollback or commit may not be properly honoured, as Universal Messaging does not lock the resources identified in the XA Prepare statement.