Home

 

The WebSphere MQ XA switch structure

 

Each resource manager participating in an externally coordinated unit of work must provide an XA switch structure. This structure defines both the capabilities of the resource manager and the functions that are to be called by the syncpoint coordinator.

WebSphere MQ provides two versions of this structure:

Consult your transaction manager documentation to determine whether to use the static or dynamic resource management interface. Wherever a transaction manager supports it, we recommend that you use dynamic XA resource management.

Some 64-bit transaction managers treat the long type in the XA specification as 64-bit, and some treat it as 32-bit. WebSphere MQ supports both models:

A list of known 64-bit transaction managers that treat the long type as 64-bit is provided in Table 3. Consult your transaction manager documentation if you are unsure which model your transaction manager uses.

XA switch load file names
Platform

Switch load file name
(server)

Switch load file name
(extended transactional client)

Windows mqmxa.dll mqcxa.dll
AIX (nonthreaded) libmqmxa.a libmqcxa.a
AIX (threaded) libmqmxa_r.a libmqcxa_r.a
HP-UX (nonthreaded) libmqmxa.so libmqcxa.so
HP-UX (threaded) libmqmxa_r.so libmqcxa_r.so
Linux (nonthreaded) libmqmxa.so libmqcxa.so
Linux (threaded) libmqmxa_r.so libmqcxa_r.so
Solaris libmqmxa.so libmqcxa.so

Alternative 64-bit XA switch load file names
Platform

Switch load file name
(server)

Switch load file name
(extended transactional client)

AIX (nonthreaded) libmqmxa64.a libmqcxa64.a
AIX (threaded) libmqmxa64_r.a libmqcxa64_r.a
HP-UX (nonthreaded) libmqmxa64.so libmqcxa64.so
HP-UX (threaded) libmqmxa64_r.so libmqcxa64_r.so
Linux (nonthreaded) libmqmxa64.so libmqcxa64.so
Linux (threaded) libmqmxa64_r.so libmqcxa64_r.so
Solaris libmqmxa64.so libmqcxa64.so

64-bit transaction managers that require the alternate 64-bit switch load file
Transaction Manager
Tuxedo

Some external syncpoint coordinators (not CICS) require that each resource manager participating in a unit of work supplies its name in the name field of the XA switch structure. The WebSphere MQ resource manager name is MQSeries_XA_RMI.

The syncpoint coordinator defines how the WebSphere MQ XA switch structure links to it. Information about linking the WebSphere MQ XA switch structure with CICS is provided in Using CICS. For information about linking the WebSphere MQ XA switch structure with other XA-compliant syncpoint coordinators, consult the documentation supplied with those products.

The following considerations apply to using WebSphere MQ with all XA-compliant syncpoint coordinators:

 

Parent topic:

External syncpoint coordination


fa13920_


 

Home