MSMQ - message queuing has not been installed on this computer

前端 未结 2 441
春和景丽
春和景丽 2020-12-30 06:11

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

2条回答
  •  -上瘾入骨i
    2020-12-30 06:53

    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:

    1. The local queue manager writes the message to a local temporary queue.
    2. The local queue manager connects to the remote queue manager.
    3. The message is transmitted.
    4. The remote queue manager writes the message to the remote queue.

提交回复
热议问题