RabbitMQ official website: https://www.rabbitmq.com
What exactly is RabbitMQ?
RabbitMQ is a method of program-to-program communication, or can be understood as a dedicated channel dedicated to reading and writing messages. Applications communicate by reading and writing messages in RabbitMQ, and there is no need for a dedicated link between programs, but rather directly through RabbitMQ to read and write data. RabbitMQ will use an asynchronous method to distribute messages, which is a classic producer-consumer model, with multiple consumers coordinating by RabbitMQ and ensuring that each message can be executed reliably. If a message makes an error during execution, RabbitMQ will not abandon the message, but will be handled by other consumers.
Installation environment: Windows 10 Enterprise 64-bit
RabbitMQ version: rabbitmq-server-3.7.4 (latest version)
Download address for RabbitMQ Windows version: https://www.rabbitmq.com/install-windows.html
Download completes to start installation:
--------------------------- RabbitMQ Server 3.7.4 Setup --------------------------- Erlang could not be detected. You must install Erlang before installing RabbitMQ. Would you like the installer to open a browser window to the Erlang download site? --------------------------- Yes(Y) No(N) --------------------------- The general idea is that Erlang is not detected on your local computer, and Erlang is installed before RabbitMQ is installed. Do you want the installer to open a browser window to the Erlang download site, we click "Yes",
Since RabbitMQ is written in Erlang, it is necessary to install the Erlang OTP on our computer before installing RabbitMQ.
The browser automatically opens the URL: http://www.erlang.org/downloads
We click "OTP 20.3 Windows 64-bit Binary File" to download, after the download is successful, install it! (Click Next directly to complete the installation)
Let's reopen the "rabbitmq-server-3.7.4.exe" now, install it directly to the next step!
We can see the installed programs from the Start menu, and we can see the rabbitMQ service process in the task manager, as shown in the figure below:
RabbitMQ installed by defaultThe listening port is 5672
We can start or stop the rabbitmq service via the command line (cmd must be run with administrator privileges)
|