XA-compliant data sources and data source types

An XA-compliant data source type is a type of data source that is capable of supporting XA protocol requirements for a resource manager that is participating in a transaction.

A data source is an instance of a data source type. An XA-compliant data source must be created in each database in which you want it, and the data source must be registered into the transaction manager when it participates in the transaction.

The transaction manager maintains a list of XA data sources participating in each transaction. Each XA data source participating in each transaction must dynamically register itself with the transaction manager by calling the mi_xa_register_xadatasource() or ax_reg() function at least once per transaction. If, for some reason, the XA data source does not participate in the two-phase commit protocol, it can be unregistered by calling the mi_xa_unregister_xadatasource() or ax_unreg() function.