2.2.2.10 MQMSGDELIVERY
The MQMSGDELIVERY enumeration defines values for the Message.DeliveryGuarantee property. The values of the enumeration indicate whether the Message is recoverable if a service interruption occurs in the message queuing system.
-
typedef enum { MQMSGDELIVERY_EXPRESS = 0, MQMSG_DELIVERY_RECOVERABLE = 1 } MQMSGDELIVERY;
MQMSGDELIVERY_EXPRESS: The Message is not recovered when a service interruption occurs in the message queuing system. A client of this protocol selects this option if message throughput is preferred over the risk of message loss.
MQMSG_DELIVERY_RECOVERABLE: The Message SHOULD be recoverable for most service interruptions in the message queuing system. A client of this protocol selects this option to minimize the risk of message loss, even if the computer on which the Message resides crashes.
Used by:
The MQMSGDELIVERY enumeration values correspond to the enumeration values for Message.DeliveryGuarantee, as shown in the following table:
MQMSGDELIVERY |
Message.DeliveryGuarantee |
---|---|
MQMSGDELIVERY_EXPRESS |
Express |
MQMSG_DELIVERY_RECOVERABLE |
Recoverable |