Sending Messages

 

Updated: July 19, 2016

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

Sending messages in Message Queuing is always an asynchronous operation. When you are sure the queue is open, you can continue to send messages without stopping to wait for a reply.

System_CAPS_ICON_note.jpg Note

Each Message Queuing message can have no more than 4 MB of data.

In addition to the basic asynchronous operation, you can add functionality to your send operation by using the following:

  • Message timers to control how long your messages stay in the system

  • Computer journals to store a copy of each message that you send

  • Administration queues for Message Queuing-generated acknowledgment messages

  • Response queues for application-defined response messages

  • Report queues for storing messages that trace the progress of a message

Message Queuing establishes network sessions with remote computers for sending messages to destinations over TCP transport. After a network session is established, Message Queuing attempts to concentrate multiple message transport operations in the network session.

For examples of sending messages, see one of the following:

For information onSee
Message timers that determine how long Message Queuing will try to send a message and wait for it to be receivedMessage Timers
A complete list of all message propertiesAPI properties: Message Queuing Properties

COM component properties: MSMQMessage
Reading messages from a queueReading Messages
Saving copies of messages that you sendSource Journaling
Administration queues for acknowledgment messagesAdministration Queues
Response messages returned by the receiving applicationResponse Messages
Tracing how messages reach the destination queueTracing Messages
Network sessions and session concentrationNetwork Sessions

Community Additions

ADD
Show: