2. Install RabbitMQ
The second step in the installation is to install RabbitMQ, keeping in mind that RabbitMQ can be installed on the same machine as other components, on its own dedicated machine, or it can be cloud hosted.
The below documentation assumes that you are installing RabbitMQ on a Windows machine, though you should be able to adapt these instructions to your desired deployment topology, as needed.
Once you have finished configuring RabbitMQ you should have a working connection string, e.g.
"amqp://localhost". Be sure that you call the middleman with this connection string.
Next, add a heartbeat parameter to the connection string, e.g.
"amqp://localhost?heartbeat=60", and update your SitecoreDXG Generation Server's
./settings.jsfile with the updated connection string value. The heartbeat parameter will help to keep the connection alive. Note that you do not need to call the Middleman with the heartbeat parameter.
Finally, after updating the settings, be sure to go into your Services manager (type
services.mscinto the Windows Start Menu), find the SitecoreDXG Generation Service in the list and restart it.