MSMQ on remote PCs

G

Guest

Is there a built in classes in .NET to make it easy to read/write MSMQ
messages to/from remote queues?
If not then what is the best way to implement it?
 
G

Guest

Thanks, But I know about the Messaging NS. What i was hoping it might have is
a param in the constructor (or a Property) of MessageQueue Class that lets
you set a computer name or IP addr.
Am i asking too much? ;) Wouldn't it be nice!
The 3 Constructors are:
public MessageQueue();
public MessageQueue(string path);
public MessageQueue(string path, bool sharedModeDenyReceive);

Thanks alot!
 
W

Willy Denoyette [MVP]

Ash said:
Thanks, But I know about the Messaging NS. What i was hoping it might have
is
a param in the constructor (or a Property) of MessageQueue Class that lets
you set a computer name or IP addr.
Am i asking too much? ;) Wouldn't it be nice!
The 3 Constructors are:
public MessageQueue();
public MessageQueue(string path);
public MessageQueue(string path, bool sharedModeDenyReceive);

Thanks alot!

Well, the path argument is exactly what you are looking for, why not consult
the docs for details regarding the path format?

Willy.
 
G

Guest

OH i didnt know that the path is the machine_name\queue name.
I thought it was only the queue name.
I guess its one of those silly little things that you miss.
Thanks...
Explained in
http://msdn.microsoft.com/library/d...ystemmessagingmessagequeueclassctortopic2.asp
Format is
Public queue: MachineName\ QueueName
Private queue: MachineName\ Private$\ QueueName
Journal queue: MachineName\ QueueName\ Journal$
Machine journal queue: MachineName\ Journal$
Machine dead-letter queue: MachineName\ Deadletter$
Machine transactional dead-letter queue: MachineName\ XactDeadletter$
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top