Partager via


Sending 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

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.

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:

More Information

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

COM component properties: MSMQMessage
Reading messages from a queue Reading Messages
Saving copies of messages that you send Source Journaling
Administration queues for acknowledgment messages Administration Queues
Response messages returned by the receiving application Response Messages
Tracing how messages reach the destination queue Tracing Messages
Network sessions and session concentration Network Sessions