On distributed platforms, the default behavior of the broker is to manage all message flow transactions by using a one-phase commit approach. In many contexts this approach is sufficient, but if your business requires assured data integrity (for example, for audit reasons or for financial transactions), configure the broker's WebSphere MQ queue manager to manage the message flow transactions in a two-stage commit approach by using the XA protocol standard. For more information about global coordination of transactions, see
The Transactional model.
On z/OS®, all transactions are globally coordinated by Resource Recovery Service (RRS), therefore the instructions in this topic do not apply. RRS must, however, be available; see Resource Recovery Service planning on z/OS.
To configure your system for global coordination of transactions:
When you have completed these steps, your message flows are processed by using global coordination, which is managed by the queue manager.
You must complete all of the steps correctly; if you do not, global coordination will not work.
For an example of how you can use
WebSphere MQ to globally coordinate transactions, look at the following sample:
You can view samples only when you use the information
center that is integrated with the Message Brokers Toolkit.