4.5 Application Internal Transaction Example
The following sequence diagram illustrates an application interacting with a supporting server to enlist the supporting server's resource manager (RM) in an internal transaction, perform operations in the scope of the internal transaction, and finally commit the transaction.
Figure 6: Using server resource manager for internal transaction
The application invokes R_QMEnlistInternalTransaction to create an internal transaction handle for the XACTUOW.
The application utilizes the XACTUOW identifier created at step 1 to perform operations in the scope of the transaction via the qmcomm2 interface.
The application finally commits the transaction by calling R_QMCommitTransaction (section 184.108.40.206), specifying the internal transaction handle obtained at step 2.