Compartilhar via


Sending Messages Offline

 

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

While the application computer is offline, the sending application can send messages to local or remote queues. Messages sent to local queues are delivered to the local queue. Messages sent to remote queues are stored locally in outgoing queues and transmitted to their final destination when the application computer is reconnected to the network.

Messages must be sent in recoverable mode if the application computer is going to be stopping the Message Queuing queue manager while offline. Messages sent in express mode are held in RAM and will be lost when the computer is turned off. To send recoverable messages, set the delivery property (PROPID_M_DELIVERY or MSMQMessage.Delivery) of the message to MQMSG_DELIVERY_RECOVERABLE.

Note

When a message is sent, its message timers (time-to-reach-queue and time-to-be-received) start ticking as soon as the send operation succeeds, even if the application computer is offline.

More Information

For information on See
All functions and methods that are restricted when operating offline Offline Quick Reference
Opening queues Opening Queues Offline