MSMQ Pathname

The MSMQ pathname is used when creating the queue. It tells MSMQ where to store the queue's messages, where to register the queue, and provides a name for the queue. A unique MSMQ pathname must be provided by the application when the queue is created.

For example, here is the MSMQ pathname for a private queue:

MachineName\PRIVATE$\QueueName

Note  To indicate the local machine, you can substitute the string "." for the name of the local computer. For example, the following MSMQ pathname tells MSMQ to store the queue's messages on the local machine:

.\PRIVATE$\QueueName
 

For information on format names and queue handles, see: