Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Private or Public MSMQ

Tags:

private

msmq

We are using Queue for few of are WCF services. We are using NetMSMQ binding for the WCF services which use Private MSMQ. The system works OK on our QA environment. I am not sure of any real difference between and private or public queue. The client application are on seperate machine still are able to access Private queue of the WCF service on other box. I am not sure if this is the right thing to do. are there any security related differences between private and public MSMQ. Can someone put some light on when to use Private or Public MSMQ.

like image 478
Balaji Avatar asked Dec 04 '09 22:12

Balaji


2 Answers

I also recommend using private queues. I've used MSMQ since version 1.0 and did the whole public queue deployment back before the AD intgration and having worked on both types of public queue deployment the private queue approach in my opinion is the best for most groups needs. Yes, there are some limitations and some gaps in overall enterprise messaging robustness, like not being able to use Routing Queue servers for example, but if your goal is to simply have a decent reliable message delivery platform for store-and-forward and use of triggers on queues then the private queue approach will be fine. My group processes well over 3 million message transactions per day through private queues and have been doing this for many years now.

like image 180
Jim Avatar answered Oct 18 '22 15:10

Jim


The info you need is well hidden (as per usual), but it can be found here:

http://msdn.microsoft.com/en-us/library/ms706878(VS.85).aspx

It's pretty much down to your deployment, your level of Active Directory integration and your distribution requirement for the queues. If it's WCF, I assume the queue is being exposed via IIS/WPAS which would abstract the queue away from the application so it may be less relevant in that mode and local queues are sufficient.

like image 35
Chris Smith Avatar answered Oct 18 '22 16:10

Chris Smith