3.1.5.1.8.3 Deleting Acknowledged Messages
The protocol MUST delete all elements from the OutgoingQueue where SRMPMessage.TransactionSequenceNumber is greater than zero, SRMPMessage.AwaitingStreamReceipt is set to False, and SRMPMessage.AwaitingFinalStreamReceipt is set to False by performing the following steps:
Raise a Message Position Deleted event as defined in [MS-MQDMPR] section 3.1.7.2.1 for each such message with the following arguments:
iQueue: A reference to the OutgoingQueue.
iPosition: The MessagePosition of the message.
iReason: AckReachQueue ([MS-MQDMPR] section 3.1.1.12).
Raise a Stream Element Removed event (section 3.1.7.6) with the following argument:
iQueue: A reference to the OutgoingQueue.