3.1.7.3 Message Position Deleted

This event is triggered when the Message Position Deleted ([MS-MQDMPR] section 3.1.7.2.1) event is raised. For the protocol to process this event, the following conditions MUST be met:

  • The iQueue argument MUST NOT contain a reference to the OutgoingQueue. It MUST contain a reference to a valid destination queue on the local machine.

  • The iPosition argument MUST contain a reference to a MessagePosition containing an SRMPMessage object.

  • The iReason argument MUST contain one of the enumerated values for the Class ADM attribute of the Message ([MS-MQDMPR] section 3.1.1.12) ADM element.

This event is generated when a message is removed from a destination queue. A message can be removed from a destination queue because the message was read by a higher-layer application, the message expired, or the queue was deleted or purged. Operations that occur on messages in a destination queue are outside the definition of this protocol; however, the protocol MUST ensure that messages are tracked and that the following acknowledgment logic is applied.