title: WCF MSMQ binding with an IIS service - how to instantiate the service?
body: <p>I have a WCF service with netMsmqBinding.  My client can send messages to my queue, and when the service is running it retrieves messages from the queue as expected.  If the service is not running, messages received are queued until the service starts.</p>
  
  <p>My problem is that the service does not start when a message hits the queue.  The service is hosted in IIS, and so it is not instantiated until IIS receives a request.  If I browse to the service then it processes the messages in the queue, but obviously this is not my desired method of processing the queue!</p>
  
  <p>I expect that I need to change the service implementation, or change the IIS setup, but I do not know where or what to change.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Does anyone actually use MSMQ over WCF?  I had this working for a short time - I enabled the binding on a <em>different</em> website on the same server, bizarrely - but now it has somehow stopped working again.</p>
  
  <p>The only problem I am having is with the Activation of the service when there is a message in the queue.  At present the queue only processes when the service is instantiated, e.g. when I browse the the .svc file.  I have the net.msmq protocol enabled on the application, and I have the net.msmq binding enabled on the site... is there anything else I need to do?</p>