2.2.4.1 action Element

The WS-Routing <action> element MUST be present as a child element of the <rp:path> element. To identify the message to the application, the <action> element MAY contain a string that represents a user-defined label for the SRMP message. The user-defined label MUST be prefixed by the string "MSMQ:", as shown in the following example.<5>

 <action>MSMQ:mqsender label</action>

If the message is a delivery receipt (see section 2.2.5.4) or a commitment receipt (see section 2.2.5.5) in response to a previous SRMP message (containing <deliveryReceiptRequest> or <commitmentReceiptRequest>), the <action> element MUST contain the identical label string as the initial message.<6>

If the message is a stream receipt (see section 2.2.5.6) in response to a previous stream message, the <action> element MUST contain the label string "MSMQ:QM Ordering Ack".

The <action> element corresponds to the Message.Label attribute of the ADM Message data element. For details, see [MS-MQDMPR] section 3.1.1.12.