4.4 Simple Enlistment Scenario

This scenario shows how a resource manager registers with a transaction manager, enlists on an existing transaction, and then responds to the enlistment notifications from the transaction manager. This scenario does not address resource manager recovery, which is described in the next section.

The scenario begins by the resource manager establishing a transport session with a transaction manager and negotiating its connection resources. It also assumes that there is some out-of-band mechanism (for example, application API) by which an external application is able to send the resource manager work to perform as part of an existing transaction. The resource manager is expected to follow the two-phase commit protocol.