I have written a sample application to write to a public and private queues that are on dev server. I don\'t have the message queue installed on my local machine.
I
Refactor out the MSMQ logic to a service and call the service from your code, passing the message. That way you only have to install MSMQ on the server.
You need to install MSMQ on ALL machines which want to participate in the transmission and reception of messages. That includes sending machines such as your local machine in this instance.
The reason for this is because of the store-and-forward messaging pattern that MSMQ uses.
http://en.wikipedia.org/wiki/Store_and_forward
What is actually happening when you "send" a message to your server is: