3.3.4.6.1 Importing a Transaction Using CONNTYPE_TXUSER_IMPORT
The application MUST perform the following actions:
Initiate a new CONNTYPE_TXUSER_IMPORT (section 2.2.8.2.2.4) connection using the Transaction Manager Name field of the application.
Get the transaction identifier from the provided STxInfo (section 2.2.5.10) structure.
If the guidSignature field of the provided STxInfo structure is set to the binary value representation of the GUID {2adb4463-bd41-11d0-b12e-00c04fc2f3ef}
The transaction identifier MUST be set to the uowTx field of the provided STxInfo structure.
Otherwise,
The transaction identifier MUST be set to the guidSignature field of the provided STxInfo structure.
Create a new transaction object that uses the transaction identifier obtained from the provided STxInfo structure.
Add the connection to the transaction connection list.
Set the Connection-Specific Data field of the connection to reference the new transaction object.
Send a TXUSER_IMPORT_MTAG_IMPORT (section 2.2.8.2.2.4.3) message using the connection:
The guidTx field MUST be set to the transaction identifier obtained from the provided STxInfo structure.
Set the connection state to Awaiting Import Response.