Install the Rabbit MQ Guide on Windows, preferably the Rabbit MQ Windows installation guides, which also includes access Rabbit using the. NET rabbitmq.client Nuget Package Example code for MQ.
Installing rabbit MQ
Rabbit MQ is built on the powerful Erlang OTP platform, so installing Rabbit MQ is premised on the installation of Erlang. Download the installation via the following two connections 3.2.3 version: Download and install ERALNG OTP for Windows (VR16B03) Otp_win64_17.0.exe (Erlang Environment) official website Run install Rabbit MQ Server Wind oWS Installer (v3.2.3) Rabbitmq-server-3.3.3.exe official website
The default installed rabbit MQ listening port is 5672
Go to the command line:
C:\Program Files (x86) \RABBITMQ Server\rabbitmq_server-3.3.3\sbin
Run the following command to enable the management plug-in:
Rabbitmq-plugins Enable Rabbitmq_management
You can see the following output
To stop the RABBITMQ service:
Rabbitmq-service stop
To start the RABBITMQ service:
Rabbitmq-service start
To view plug-in commands:
Rabbitmq-plugins List
The
can see the following output: There are two ways to access the administration and monitoring interface: 1, Web UI Open Browser, enter http://localhost:15672/carriage return, will be asked to enter a user name and password, with the default guest/guest can be confirmed, you will see the interface shown in Figure 1, then you can enjoy the control of RABBITMQ. The management UI is a static HTML page that gets real-time data through the JavaScript query HTTP API. Essentially, the Web UI is ultimately called the Management command line tool. 2, command line tools management command lines tool has the same functionality as the Web UI and may be easier to use for scripting. Rabbitmqadmin is just a custom HTTP client, and if you want to introduce rabbitmqadmin in your own program, you can use the HTTP API directly. rabbitmqadmin can be downloaded on the http://SERVER-NAME:15672/CLI page. After downloading rabbitmqadmin.txt, rename it to Rabbitmqadmin, copy it to/usr/local/bin or the path you want, and add executable permissions. #rabbitmqadmin--help