Acknowledgment Message Properties
Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista
The properties of an acknowledgment message are set by the system. They provide information that can be used by the sending application that is reading the messages in an administration queue. The following is a list of the message properties that the system sets when it generates the acknowledgment message:
Note
Connector applications must set these properties when sending positive (including read receipt messages) and negative acknowledgment messages back to the sending application.
PROPID_M_ACKNOWLEDGE or MSMQMessage.Ack
Not set.
PROPID_M_ADMIN_QUEUE or MSMQMessage.AdminQueueInfo
Not set.
PROPID_M_APPSPECIFIC or MSMQMessage.AppSpecific
Same as original message.
PROPID_M_BODY or MSMQMessage.Body
For positive acknowledgment messages, the body of the acknowledgment message is empty. You must refer to the original message to see the message body.
For negative acknowledgment messages (with the exception of private, encrypted messages) the body of the acknowledgment message contains the message body of the original message.
PROPID_M_CLASS or MSMQMessage.MsgClass
Specifies the appropriate positive or negative acknowledgment class. For information on the different acknowledgment classes, see Acknowledgment Message Classes.
PROPID_M_CORRELATIONID or MSMQMessage.CorrelationId
Specifies the message identifier of the original message sent by the sending application.
Note
If messages were sent to multiple destination queues, the returned message identifier is not unique.
If the correlation identifier of the original message contained an application-defined identifier, that information is not included in the acknowledgment message.
PROPID_M_DELIVERY or MSMQMessage.Delivery
Same as the original message.
-
Same as the original message.
PROPID_M_JOURNAL or MSMQMessage.Journal
Same as the original message.
PROPID_M_LABEL or MSMQMessage.Label
Same as the original message.
PROPID_M_MSGID or MSMQMessage.Id
Message identifier of the acknowledgment message.
PROPID_M_PRIORITY or MSMQMessage.Priority
Same as the original message.
PROPID_M_RESP_QUEUE or MSMQMessage.ResponseQueueInfo
Destination queue format name of the original message. When messages are sent to multiple destination queues, this property provides the format name of the destination queue for one copy of the message.
PROPID_M_RESP_FORMAT_NAME or MSMQMessage.ResponseDestination
(Introduced in MSMQ 3.0) Destination queue format name of the original message. When the original message is sent using a distribution list format name, multicast address format name, or multiple-element format name, this property is set to the distribution list, multicast, or multiple-element format name specified when the original message was sent.
PROPID_M_TIME_TO_BE_RECEIVED or MSMQMessage.MaxTimeToReceive
Set to maximum time allowed by Message Queuing.
PROPID_M_TIME_TO_REACH_QUEUE or MSMQMessage.MaxTimeToReachQueue
Set to maximum time allowed by Message Queuing.
More Information
For information on | See |
---|---|
Administration queues | Administration Queues |
The values of the acknowledgment message properties set by the system | Acknowledgment Message Properties |
The different classes of acknowledgment messages | Acknowledgment Message Classes |