Freigeben über


Queue names for WAS hosted WCF service

On WCF forums, I have noticed a common issue that developers face when hosting their WCF service in WAS. The issue is that the service does not get activated. Often, the reason is that the queue name does not match the service endpoint name. This msdn article talks about this behavior. In a nutshell “It's important to note that the activation of MSMQ endpoints only works correctly if the queue has the same name as the .svc file (minus the machine name). That means that if your service endpoint is /server/app/service.svc, the queue name must be app/service.svc.” This is a pre-requisite for using WAS for hosting WCF services that interact with MSMQ.