2.2.2.11 MQMSGACKNOWLEDGEMENT

The MQMSGACKNOWLEDGEMENT enumeration defines flags for the Message.AcknowledgementsRequested property. The values of the enumeration indicate the categories of administrative acknowledgment messages that are generated in response to successful or unsuccessful delivery outcomes. Administrative acknowledgment messages are generated to indicate the delivery outcome of a message that was originated by a client of this protocol. The MQMSGCLASS (section 2.2.2.9) enumeration specifies the types of administrative acknowledgment messages and the specific conditions in which they are produced by the message queuing system.

 typedef enum 
 {
   MQMSG_ACKNOWLEDGMENT_NONE = 0x00,
   MQMSG_ACKNOWLEDGMENT_POS_ARRIVAL = 0x01,
   MQMSG_ACKNOWLEDGMENT_POS_RECEIVE = 0x02,
   MQMSG_ACKNOWLEDGMENT_NEG_ARRIVAL = 0x04,
   MQMSG_ACKNOWLEDGMENT_NEG_RECEIVE = 0x08,
   MQMSG_ACKNOWLEDGMENT_NACK_REACH_QUEUE = 0x04,
   MQMSG_ACKNOWLEDGMENT_FULL_REACH_QUEUE = 0x05,
   MQMSG_ACKNOWLEDGMENT_NACK_RECEIVE = 0x0c,
   MQMSG_ACKNOWLEDGMENT_FULL_RECEIVE = 0x0e
 } MQMSGACKNOWLEDGEMENT;

 Used by:

The MQMSGACKNOWLEDGEMENT enumeration values correspond to the enumeration values for Message.AcknowledgementsRequested, as shown in the following table:

MQMSGACKNOWLEDGEMENT

AcknowledgementsRequested

 MQMSG_ACKNOWLEDGEMENT_NONE

 None

 MQMSG_ACKNOWLEDGEMENT_POS_ARRIVAL

 AckPosArrival

 MQMSG_ACKNOWLEDGEMENT_POS_RECEIVE

 AckPosReceive

 MQMSG_ACKNOWLEDGEMENT_NEG_ARRIVAL

 AckNegArrival

 MQMSG_ACKNOWLEDGEMENT_NEG_RECEIVE

 AckNegReceive

MQMSG_ACKNOWLEDGEMENT_NACK_REACH_QUEUE

 AckNackReachQueue

MQMSG_ACKNOWLEDGEMENT_FULL_REACH_QUEUE

 AckFullReachQueue

 MQMSG_ACKNOWLEDGEMENT_NACK_RECEIVE

 AckNackReceive

 MQMSG_ACKNOWLEDGEMENT_FULL_RECEIVE

 AckFullReceive