MSMQ and MSMQT side by side on the same machine

It’s not architectural, but so many people ask, that I decided to have a log entry on the subject. That’s easy:

1.      Add two static IP addresses to your machine. E.g. for MSMQ and for MSMQT. Static is important because Windows will reregister dynamic addresses at each reboot and screw up step 2 results.

2.      Register these IP addresses in DNS with different names. Say, mymsmq for MSMQ and mybts for MSMQT. For reference, this step you do on the domain DNS controller, not on the machine. I know you know, but some people tried the other way.

3.      Install MSMQ (that’s Windows component called “Message Queuing”)

4.      Go to the register an entry “HKLM\SOFTWARE\Microsoft\MSMQ\Parameters”, add entry “BindInterfaceIP” and set its value to IP address you want to dedicate to MSMQ (e.g. This way MSMQ will not try to grab MSMQT IP address (the second one).

5.      Install BizTalk. During setup (configuration) on Message Queuing configuration screen, set the name and IP address you dedicated to MSMQT. E.g. mybts and

6.      Add MSMQT adapter to BizTalk (it have to be done manually, it’s not on by default).

7.      Enjoy.

a.       Send messages to MSMQ with addresses like DIRECT=OS:mymsmq\private$\MSMQQueue

b.      Send messages to MSMQ/T with addresses like DIRECT=OS:mybts\private$\MSMQTQueue

Comments (3)

  1. Can this be done after BizTalk has been installed without reinstalling the server? I have not added the MSMQT adapter yet.

  2. Eldar says:

    Technically, irreversible change happens when MSMQT adapter is added and first started. At this time configuration parameters are copied into another place. So, if you did not added MSMQT adapter yet, you should be able to do that as long as you can reproduce the actions of configuration — primarily, writing proper registry keys.

  3. In the beginning: MSMQ AIC In the beginning there were no adapters. In BizTalk 2000 and 2002 they were