Use CICS
CICS® is one of the elements of TXSeries®.
The versions of TXSeries that are XA-compliant
(and use a two-phase commit process) are defined in the System Requirements for IBM MQ information.
IBM MQ also supports other transaction managers. See the
System Requirements for IBM MQ web page for links to information about
supported software.