2.2.5.2.2 deliveryReceiptRequest Element

The SRMP <deliveryReceiptRequest> element MAY be present as a child element of the <services> element. If present, the SRMP <sendTo> element MUST be present as a child element of the <deliveryReceiptRequest> element, as the following example shows. The <sendTo> element MUST contain a string that represents the URI of the administration queue to which receipts are sent. The URI MUST use HTTP/HTTPS name formatting (similar to the URI in the <to> element, which is described in section 2.2.4.2).

The <deliveryReceiptRequest> element corresponds to the Message.AcknowledgementsRequested += AckPosArrive attribute of the ADM Message data element. For details, see [MS-MQDMPR] section 3.1.1.12.

If the <deliveryReceiptRequest> element is present, the receiver MUST acknowledge acceptance of the message with a receipt. The receipt acknowledges that the receiver understands each SRMP element that is marked with "mustUnderstand=1", has performed all actions that are required of the SRMP receiver prior to sending the receipt, and is committed to performing all actions that are required of the receiver after sending the receipt. In the context of MSMQ, this means that the message was received and placed in the destination queue at the receiver. The receipt MUST be sent to the URI that is specified in the <sendTo> element.

The <sendTo> element corresponds to the Message.AdministationQueueFormatName attribute of the ADM Message data element. For details, see [MS-MQDMPR] section 3.1.1.12.

 <deliveryReceiptRequest>
     <sendTo>http://myhostname/MSMQ/private$/receipts</sendTo>
 </deliveryReceiptRequest>