4.4.3.2 Responding to a Commit Request Message

If the transaction manager receives notification that the transaction is committed, it sends to the resource manager a TXUSER_ENLISTMENT_MTAG_COMMITREQ message.

Field

Value

Value description

MsgTag

0x00000FFF

MTAG_USER_MESSAGE

fIsMaster

0x00000000

0

dwConnectionId

0x00000002

2

dwUserMsgType

0x00001035

TXUSER_ENLISTMENT_MTAG_COMMITREQ

dwcbVarLenData

0x00000000

0

dwReserved1

0xcd64cd64

dwReserved1: 0xcd64cd64

When the resource manager successfully completes its commit work, it replies to its transaction manager with a TXUSER_ENLISTMENT_MTAG_COMMITREQDONE user message.

Field

Value

Value description

MsgTag

0x00000FFF

MTAG_USER_MESSAGE

fIsMaster

0x00000001

1

dwConnectionId

0x00000002

2

dwUserMsgType

0x00001038

TXUSER_ENLISTMENT_MTAG_COMMITREQDONE

dwcbVarLenData

0x00000000

0

dwReserved1

0xcd64cd64

dwReserved1: 0xcd64cd64

The resource manager has now completed all its work that is associated with the transaction and initiates the disconnect sequence on its CONNTYPE_TXUSER_ENLISTMENT connection with its transaction manager.