Matching Acknowledgment and Original Messages

 

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

When the sending application reads the acknowledgment messages returned to the administration queue, the application must be able to match the returned acknowledgment message with the original message it sent.

To do this, Message Queuing returns the message identifier and destination of the original message in the following message properties of the acknowledgment message:

If the sending application has sent each message to a single destination queue, each sent message has a unique message identifier. As a result, that acknowledgment messages can be matched to their corresponding original message simply by comparing the returned message identifier with the message identifier of the sent message.

However, if the sending application has sent messages to multiple destination queues, each copy of the message has the same message identifier. In this case, the sanding application will need to match message identifiers and the destination queues of the original message.

Note

Messages can be sent to multiple destination queues using distribution lists, multicast addresses, and multiple element format names. For information about sending messages to multiple destination queues, see Multiple-Destination Messaging.

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