2.2.5.5 commitmentReceipt Element

The SRMP <commitmentReceipt> element MAY be present as a child element of the <se:Header> element. This element MUST be generated in response to a message that contains the <commitmentReceiptRequest> element (see section 2.2.5.2.3) or the <DeadLetter/> element (see section 2.2.6.4 and section 3.1.7.3.3). If present:

  • The SRMP element <decidedAt> MUST be present as a child element of the <commitmentReceipt> element, as the following example shows. It MUST also contain a string that represents an ISO 8601 date string and is expressed in UTC. The <decidedAt> element represents the current time stamp at which the message was removed from the destination queue, either by the receiving application (in the positive case) or by a discard or purge operation (in the negative case).

  • The SRMP <decision> element MUST be present as a child element of the <commitmentReceipt> element. It MUST contain one of two enumeration values: "negative" or "positive", corresponding to negative or positive commitment receipts.

  • The SRMP <id> element MUST be present as a child element of the <commitmentReceipt> element. It MUST contain the same MessageID as the <id> element in the <path> element of the original message that requested the commitment receipt (see section 2.2.4.3).

  • The <to> element of the <path> element in the receipt message MUST contain the URI of the administration queue that is specified in the <sendTo> element of the <commitmentReceiptRequest> in the original message (see section 2.2.5.2.3).

     <commitmentReceipt>
         <decidedAt>20070618T210908</decidedAt>
         <decision>positive</decision>
         <id>uuid:32852@32221eda-9376-46df-b6ed-783091123831</id>
     </commitmentReceipt>