Reputation: 1800
I am using System.Messaging and I have a queue on my local machine.
The queue name is .\private$\dummyQueue
At first glance I can see that there is a period at the beginning of the name and have determined that it is a local queue. Is that a safe assumption to make? Is there a solid rule for determining if a queue is local or remote based on the name alone?
Upvotes: 0
Views: 86
Reputation: 4687
If only it were that simple. MSMQ uses a bunch of different ways to reference a queue, from GUIDs to format names (like your example). In your case a period is always shorthand for "local". This blog may help.
Upvotes: 1