After talking about the details of the plugins and plugin development, we are now ready to look into the management of the RabbitMQ server. To get the best out of RabbitMQ, we need to manage it effectively. RabbitMQ provides support for the following:
Adding, updating, and showing users, virtual hosts, and permissions
Declaring, listing, and deleting exchanges, queues, and bindings
Sending and receiving messages
Monitoring the queue length, message rates globally and per channel, data rates per connection, and so forth
Exporting/importing object definitions to JSON
Forcing close connections
Purging queues
We can manage the RabbitMQ server using command-line tool called rabbitmqctl
using a plugin called Management Plugin, that is provided by default from RabbitMQ and accessing RabbitMQ using the REST APIs. Therefore, our chapter is designed with the following topics:
Management via a command line
Management via a web plugin
Management via a REST API