A bit late on this, however I only started working on them now.
To add to Richard's answer, you can create public queues.
you need the hostname though and admin access to that machine.
public static MessageQueue CreatePrivate(string name) {
string path = string.Format(@".\private$\{0}", name);
if (!MessageQueue.Exists(path)) {
MessageQueue.Create(path);
return new MessageQueue(path);
}
return new MessageQueue(path);
}
public static MessageQueue CreatePublic(string hostname,string queuename) {
string path = string.Format(@"{0}\{1}", hostname,queuename);
if (!MessageQueue.Exists(path)) {
MessageQueue.Create(path);
return new MessageQueue(path);
}
return new MessageQueue(path);
}
}