3.1.7.14 Resume Queue Event

This event is triggered when the Resume Queue ([MS-MQDMPR] section 3.1.7.2.4) event is raised. The queue manager MUST establish a protocol session to the remote queue manager if there are messages in the iQueue.MessagePositionList. Protocol session establishment is specified in Establish a Protocol Session (section 3.1.5.2).

If the session whose OutgoingQueueReference ADM element matches iQueue has messages in its OutgoingMessageTable ADM element, the protocol MUST perform the following:

  • If iQueue.State is Disconnected, the protocol must establish a connection to the remote queue manager as specified in section 3.1.5.2.

  • For each OutgoingMessagePosition ADM element instance iOutgoingMessagePosition in the OutgoingMessageTable ADM element, the Add Message To Dispatch Collection ([MS-MQDMPR] section 3.1.7.1.28) event MUST be raised with the following arguments.

    • iPosition := A reference to iOutgoingMessagePosition.MessagePosition.

    • iData := A reference to iOutgoingMessagePosition.

  • The SessionActive ADM element of the session MUST be set to TRUE.