views:

129

answers:

1

I haven't been able to find a clear answer to this problem. Is there a good way to subscribe to a MSMQ through the internet? Ideally I need security both in authentication and encryption for this connection. But I would like the subscriber to act just like any other client that would be subscribed on the local network. I believe I have a couple of options here

  • Expose the MSMQ ports publicly
  • Put the MSMQ behind some type of WCF service (not sure if that works for a subscriber)

What other options do I have? We're sitting in a .NET environment and the main problem domain that is trying to be solved is to change the remote connections from a pulling system to an event based system to reduce the load on the main server.

A: 

The most natural option will be to use MSMQ over http, which is a feature of MSMQ: http://msdn.microsoft.com/en-us/magazine/cc164041.aspx

The alternative would be to create an http WCF service possibly with duplex polling and use WS-Routing to an MSMQ WCF service.

Doobi