The RabbitMQ server can be run as either an application or service (not both).
- rabbitmq-server.bat starts the broker as an application.
- rabbitmq-service.bat manages the service and starts the broker.
- rabbitmqctl.bat manages a running broker.
- 1 as an Application
Start the Broker as an Application
Stopping the Broker
Checking the Broker Status
Run the command
rabbitmq-server -detached
Use rabbitmqctl stop.
Use rabbitmqctl status.
Install the Service
Install the service by running
rabbitmq-service install
A service with the name defined by RABBITMQ_SERVICENAME should now appear in the Windows Services control panel (Start > Run services.msc).
Start the Broker as a Service
To start the broker, execute
rabbitmq-service start