3.1.5.4.2 Response Packet

The packet is processed as a response if the value of the SessionState ADM element is WAITING_CPR_MSG.

The ReceivedWindowSize ADM element MUST be set to the value of the ConnectionParametersHeader.WindowSize field. The protocol MUST perform the following:

  • Clear the OutgoingQueueReference.NextHops collection.

  • Get the NextHop (section 3.1.1.3.1.3) ADM element instance of the NextHopCollection ADM element, referred to as iNextHop and referenced by the NextHopIterator.

  • Format iNextHop.Address, as specified in [MS-MQMQ] section 2.3.12.12, and add it to the OutgoingQueueReference.NextHops collection.

The Session Initialization Timer (section 3.1.2.1) MUST be stopped. The value of the SessionState ADM element MUST be set to OPEN. An element MUST be appended to the OutgoingQueueReference.ConnectionHistory array; the Status ADM attribute of the array element MUST be set to Established; the ConnectionHistoryTime ADM attribute of the array element MUST be set to the current time; the Error ADM attribute of the array element MUST be set to zero; and the AddressList ADM attribute of the array element MUST be set to the RemoteQMAddress ADM element. The session is now initialized and is ready to send or receive UserMessage Packets ([MS-MQMQ] section 2.2.20).

If the OutgoingQueueReference.State is not OnHold, the OutgoingQueueReference.State MUST be set to Connected.