Monday, May 18, 2009

HTTP MSMQ - the name of the game

Weird enough that i spent a day on this... you can find plenty of (mis)information on how to use MSMQ over HTTP (through a firewall). This link here is one of the better ones..
in fact for me the ONLY way it worked is the following syntax:

FormatName:DIRECT=HTTP://remote.machine.com/MSMQ/PRIVATE$/queuename

so that is, all uppercase, and the queuename all lowercase. All other options either did not even turn up in the output queue on the sender side, or just locked in there. No IP address for me, no no..

So once you got this straight and can now send to a remote machine via the firewall, you will recall that XMLSerializer processes only the public members of your class you will send through...

And then on the remote end read locally as .\private$\queuename for full delight.

No comments:

Post a Comment