this article gives basics of how to use msmq,
Using MSMQ from C#[
^]
In the publish side you will be writing the message into msmq and subscribe process will be watching for msmq for any new message, if any message exists then it will get that message and process it.