I have a WCF service hosted as a Windows service. The WCF service uses msmq queue on the same server.
When the server is restarted my WCF service starts before the msmq service. This puts my WCF service in faulted state.
What is the best way to handle this? Should I set up a dependency to the msmq service? Is there a way to handle this from the wcf service?