3.17.4.1.8 Delivery (Opnum 14)
The Delivery method is received by the server in an RPC_REQUEST packet. In response, the server MUST set the represented Message.DeliveryGuarantee.
-
[propput] HRESULT Delivery( [in] long lDelivery );
lDelivery: A long integer that identifies the delivery method of the message. This parameter corresponds to the MQMSGDELIVERY (section 2.2.2.10) enum.
Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.
When processing this call, the server MUST follow these guidelines:
If the lDelivery input parameter is NOT a valid MQMSGDELIVERY enumeration value:
Return MQ_ERROR_ILLEGAL_PROPERTY_VALUE (0xC00E0018), and take no further action.
Set the represented Message.DeliveryGuarantee to the value that maps to the MQMSGDELIVERY enum contained in the lDelivery input parameter.