I have a WCF service with netMsmqBinding. My client can send messages to my queue, and when the service is running, it receives messages from the queue as expected. If the service is not running, received messages are queued before the service starts.
My problem is that the service does not start when a message is queued. The service is hosted on IIS and therefore is not created until IIS receives the request. If I go to the service, then it processes messages in the queue, but obviously this is not my desired method of processing the queue!
I expect that I need to change the implementation of the service or change the IIS configuration, but I do not know where and what to change.
UPDATE
Does anyone really use MSMQ over WCF? I had this for a short time - I turned on the binding on another website on the same server, which is strange, but now it somehow stops working again.
The only problem I encountered is to activate the service when there is a message in the queue. Currently, the queue is only processed when creating a service instance, for example. when i view the .svc file. I have the net.msmq protocol included in the application and I have the net.msmq binding enabled on the site ... is there anything else I need to do?
iis wcf msmq msmq-wcf
Kirk Broadhurst
source share