3.3.7.1 Open Queue for Receive
This event is raised without any arguments supplied.
Return Values:
rOpenQueue: An OpenQueueDescriptor value for the opened queue.
rReturnStatus: A status code signifying the success or failure of the raised [MS-MQDMPR] events.
The receiver MUST open the queue corresponding to the endpoint specified in the service's WSDL, which also corresponds to the MQPCO Via record, referred to as rVia. This MUST be performed before any messages are received. The receiver MUST perform the following:
Construct a format name, referred to as rFormat as follows:
Raise the Construct Direct Format Name event, as specified in section 3.1.7.1 with the following properties set:
iVia: Set to rVia.
Set rFormat to the returned rFormatName.
Generate an Open Queue event as specified in section 3.1.7.1.5 of [MS-MQDMPR], with the following properties set:
iFormatName: Set to rFormat.
iRequiredAccess: Set to QueueAccessType.SendAccess, as specified in section 3.1.1.17 of [MS-MQDMPR].
iSharedMode: Set to QueueShareMode.DenyNone, as specified in section 3.1.1.17 of [MS-MQDMPR].
Set rOpenQueue to the returned rOpenQueueDescriptor.
Set rReturnStatus to the returned rStatus.