Share via


Response 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

Response messages are messages that a receiving application sends in response to a message. A sending application requests a response by providing a response queue with the message its initial message. The receiving application then checks to see if a response queue was sent, sending a response message back to the response queue if one was provided.

This response is an application message that must be in a form understood by the application requesting the response and the application sending the response. Response messages are application-defined and are not defined by Message Queuing.

Response Types and Content

For information on See
The type of queues used as response queues Response Queues
Specifying a response queue using function calls PROPID_M_RESP_QUEUE
Specifying a response queue and testing to see if a response is needed using object properties MSMQMessage.ResponseQueueInfo
Contents of response messages What is in a Response Message

Sending and Returning Messages

For an example of See
Sending messages that request response messages C/C++ Code Example: Requesting Acknowledgment Messages

 Visual Basic Code Example: Requesting Acknowledgment Messages
Returning response messages C/C++ Code Example: Returning Response Messages

 Visual Basic Code Example: Returning Response Messages