2.2.4.2.6 XAUSER_CONTROL_MTAG_RECOVER_REPLY
The XAUSER_CONTROL_MTAG_RECOVER_REPLY message indicates that the recovery request has completed successfully.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MsgHeader (24 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ReplyFlags |
|||||||||||||||||||||||||||||||
ultotalUOWs |
|||||||||||||||||||||||||||||||
Uow_Recs (variable) |
|||||||||||||||||||||||||||||||
... |
MsgHeader (24 bytes): This field MUST contain a MESSAGE_PACKET structure:
The dwUserMsgType field MUST be 0x00004005.
The dwcbVarLenData field MUST be 8 bytes plus the number of bytes in the Uow_Recs array.
ReplyFlags (4 bytes): Flags that indicate whether more unrecovered transactions remain. It MUST be one of the following flags.
-
Value
Meaning
XARECOVER_MORE_TO_COME
0x00000001
Not all recovered transactions have been scanned.
XARECOVER_END_OF_RECS
0x00000002
All recovered transactions have been scanned.
ultotalUOWs (4 bytes): A 32-bit unsigned integer that MUST contain the count of elements in the Uow_Recs array, each of which represents an XA transaction in need of recovery. This value SHOULD<4> match the totalUOWsRequested value in the previous XAUSER_CONTROL_MTAG_RECOVER message (section 2.2.4.2.4), unless the scan has completed, in which case the ultotalUOWs value could be less, depending on the number of transactions that remain to be recovered.
Uow_Recs (variable): An array of XA_UOW structures. The number of elements in the array MUST be equal to ultotalUOWs plus 5. The last 5 elements are reserved, MUST be set to implementation-specific values, and MUST be ignored on receipt.