RabbitMQ is the messaging framework that supports the communication between the On-Screen TakeOff and ConQuest applications. It must be installed if TakeOff is being used in line with ConQuest.
To perform the installation, please follow the below steps:
You need to download the installation kit from below (use Microsoft Edge to open this link).
After downloading the zip folder, you should open the RabbitMQ Message Server folder which contains the 2 installers you need to run.
Run the Erlang installer first (otp_win64_18.2.1.exe) as Administrator.
Use the default settings, press Next, Next, Install and wait for the install to finish then press Close.
After that, run the RabbitMQ installer (rabbitmq-server-3.6.0.exe) as Administrator.
Use the default settings and press Next, make note of the install location and then press Install and wait for it to install then press Finish.
Start configuring by going to the Start Menu and searching for 'RabbitMQ'.
Launch the RabbitMQ command prompt (run as administrator).
Click this and you will get a command prompt in the RabbitMQ install root.
If it doesn't launch straight into the root install folder you will need to type CD\Program Files\RabbitMQ Server\rabbitmq_server-3.6.0\sbin.
Type rabbitmq-service.bat remove and then press Enter.
You should get a successful message and once done type rabbitmq-service.bat install and press Enter.
This should have installed the RabbitMQ service so you need to type net start RabbitMQ and press Enter.
This should have started the RabbitMQ service so you should continue by entering and running the following commands in sequence:
call rabbitmqctl.bat add_user ConQuest conquest123 call rabbitmqctl.bat set_user_tags ConQuest administrator call rabbitmqctl.bat set_permissions -p / ConQuest .* .* .*
Once done we need to enable the management plugin in the command prompt window type rabbitmq-plugins.bat enable rabbitmq_management and then press Enter.
You should now be able to connect to the RabbitMQ management console by opening a web browser and browsing to http://localhost:15672/. If this fails try http://127.0.0.1:15672/
You should have a login window. Log in as the user you just created. (Username: ConQuest, Password: conquest123). The username is case-sensitive.
The last thing to do is add the 3 TakeOff exchanges by clicking on the Exchanges tab.
Click on Add a new exchange.
The only things that need to be changed from default are the Name and Type, by adding the following names for each exchange with a 'Type' of topic (Note: There should be 3 separate exchanges):
TakeOffLicenceRetreival
TakeOffRequests
TakeOffMeasurements
RabbitMQ is now installed and ready to go.
Note: If Windows Firewall is turned on you will need to allow port 5672 through for users to connect to it successfully.
