【发布时间】:2011-01-13 00:14:41
【问题描述】:
机器A上有一个名为queue1的公共队列。我想从机器B向这个队列发送消息。为了实现这一点,我编写了那个c#代码。
if (MessageQueue.Exists("machineA\queue1"))
{
label1.Text = "queue found";
}
else
{
label1.Text = "queue could not be found";
}
但是Exists() 方法在机器 B 上返回 false。相同的代码在机器 C 上运行良好。
我发现了一些与 msmq 域模式和工作组模式有关的东西。我认为 msmq 在机器 B 上以 workgoup 模式安装。
如何将此配置从工作组模式更改为域模式?
【问题讨论】:
标签: msmq