Opening Queues with a Direct Format Name

 

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 you open queues with a direct format name, no attempt is made to connect to the directory service (except in the case of a local public queue) or to the computer where the queue resides. The local queue manager gets the request to open the queue from the local runtime and determines the target computer name from the address specification in the format name. The queue manager then creates the queue object and returns a handle to this object to the runtime. When a local public queue is opened with a direct format name, Message Queuing attempts to contact the directory service and update the data in its local information cache. If the directory service cannot be accessed, the information in the local cache in used.

<No Change>

Typically, remote queues are opened with direct format names to send messages directly to the remote queue. However, when you are operating offline, your computer has no connection to the directory service or other remote computers. In these circumstances, you can use direct format names to open local public or private queues without having to obtain and cache their public or private format names in advance while you are still online.

More Information

For information on See
The syntax of direct format names and the security-related restrictions created by using direct format names Direct Format Names
How MSMQ opens local queues. Opening Local Queues
How MSMQ opens remote queues. Opening Remote Queues
What is required to open a queue. Opening Queues