Question : 2 questions about messagequeue

Dear All,

The situation is:

1) One application is installed on my PC, and I will login to my PC using domain user account;

2) The application I run need to send message to a msmq on a server; (which is in the domain as well)


So:

1) Does the msmq on that server need to be created as "Public", rather than "Private"?

2) If so, how can I write the queue path when create my MessageQueue object? ( ie myserver\\Public$\\queuename ??)


Thanks heaps!


 

Answer : 2 questions about messagequeue

Yes, public queues only work on domains.
I have used MSMQ in Windows 2003, but not in Windows 2008.
I think they have changed the way to build public queues  for windows 2008(public queue are defined/stored in Active Directory under the computer object hosting the queue)

Note: I found an article that implies that you can use private queues with WCF in windows server 2008, (but I have not implemented in windows 2008)
http://dotnet.dzone.com/news/msmq-wcf-and-iis-getting-them-
Random Solutions  
 
programming4us programming4us