4.5 Transaction Manager Two-Phase Commit Scenario
This scenario shows how a transaction manager performs the Two-Phase Commit Protocol as both the superior transaction manager facet and the subordinate transaction manager facet.
For this scenario, all connections that are associated with the transaction are extant. The root transaction manager has an existing CONNTYPE_TXUSER_BEGIN2 connection between itself and the initiating application. Optionally, the transaction has one or more existing CONNTYPE_PARTNERTM_BRANCH or CONNTYPE_PARTNERTM_PROPAGATE connections between a superior transaction manager facet and its subordinate transaction manager facets. (A Subordinate Transaction Manager Facet can also act as a superior transaction manager facet if it has any subordinate branches.) Optionally, each transaction manager also has one or more CONNTYPE_TXUSER_ENLISTMENT connections with its registered resource managers.
For this scenario, it is assumed that there are no phase-zero or voter enlistments and that the root transaction manager has more than one subordinate branch and thus will not perform a single-phase commit.