title: WCF Publish/Subscribe With MSMQ
body: <p>I have created a WCF Publish/Subscribe service using WSDualHTTPBinding. It allows a server application to submit errors to it and then all clients that are subscribed will receive the error messages. This works but after a while it will stop working stating that the reliable session has faulted. I've spent too long looking into this and wasted too much time.</p>
  
  <p>My code is exactly the same as the List Based Publish Subscribe example on the MSDN.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/ms752254.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms752254.aspx</a></p>
  
  <p>I was thinking that using MSMQ for this would be more reliable considering the order the messages are received is not important.</p>
  
  <p>From what I can tell, replacing with netMsmqBinding in the app.config is not sufficient as all servicecontracts must be one way which in the example above they are not. Is it possible to create the publish/subscribe pattern in MSQM and if so how. I have seen a few examples but they were difficult to follow and were inconclusive as to whether it was a good approach.</p>