How to change Msmq configuration from workgroup mode to domain mode?

Viewed 35076

There is a public queue named queue1 on machine A. I want to send messages to this queue from machine B. In order to achieve this, I wrote that c# code.

if (MessageQueue.Exists("machineA\queue1"))
{
    label1.Text = "queue found";
}
else
{
    label1.Text = "queue could not be found";
}

But Exists() method return false on machine B. The same code works well on machine C.

I found somethings related with msmq domain mode and workgroup mode. I think that msmq installed in workgoup mode on machine B.

How can I change this configuration from workgroup mode to domain mode?

5 Answers

I have face this issue for windows server 2016, where even thought I was changing registry value to domain mode "0", it reverts to "1", after server restart.

To solve the issue on OS 2016, we need to uninstall below MSMQ feature as they are deprecated from OS 2016 onward. Message Queuing Trigger Multicasting support Routing Service

Related