2.2.2.1 MQTRANSACTION

The MQTRANSACTION enumeration defines values that are passed to methods that occur in the scope of a transaction. Specific values in this enumeration indicate the manner in which an operation obtains a transaction identifier. A value is reserved to indicate that the operation is not to be performed in the scope of a transaction.

 typedef enum 
 {
   MQ_NO_TRANSACTION = 0,
   MQ_MTS_TRANSACTION = 1,
   MQ_XA_TRANSACTION = 2,
   MQ_SINGLE_MESSAGE = 3
 } MQTRANSACTION;

MQ_NO_TRANSACTION:  The operation is not to be performed in the context of a transaction. Therefore, the operation is to be immediately executed to completion.

MQ_MTS_TRANSACTION:  The operation MUST be performed in the context of an MSDTC coordinated transaction (see [MS-DTCO]). The transaction identifier is to be obtained from the Component Object Model (COM) activation context, as defined in [MS-COM].

MQ_XA_TRANSACTION:  A coordinated transaction, as defined by [C193].

The transaction identifier is to be obtained from the COM activation context, as defined in [MS-COM].

MQ_SINGLE_MESSAGE:  The operation is not to be performed in the context of a transaction. This flag is required when sending a single message to, or receiving a single message from, a transactional queue, when not coordinating a transaction with systems beyond message queuing.

Used by: