-
Install MSMQ and configure it for your purposes, if necessary.
-
Download and
install
Service Protector, if necessary.
-
Start Service Protector.
-
Select Protector > Add to open the Add Protector window:
-
On the General tab, in the Service to protect field, choose the MSMQ windows service, called Message Queuing.
You will notice a green circle on the left if the MSMQ service is already running, as was the case on our PC.
-
Click the Save button. In a few seconds, an entry for MSMQ will show up in the Service Protector window.
MSMQ is probably already running but it is not yet being protected by Service Protector (as shown below).
-
To start protection, choose Protector > Start "Message Queuing". In a couple of seconds the shield icon on the right will go to green to indicate that MSMQ is being monitored by Service Protector:
-
That's it! Next time your computer boots, the Microsoft Message Queue will start automatically and Service Protector will watch the service to promptly restart it if it stops for any reason.
We encourage you to edit MSMQ in Service Protector and check out the many other settings that may be appropriate for your environment.
For example, send an email when the service fails, restart the queue at a safe time every day, run a script to clear stale messages prior to restarting the service, and much more.