Chapter 12. Smart Rabbits: extending RabbitMQ
This chapter covers
- Installing RabbitMQ plugins
- A review of interesting plugins
- Implementing your own custom exchange plugin
At this point you’ve learned how to use RabbitMQ as an AMQP message broker using what comes out of the box. In chapter 8 you saw that some customization was required in order to have an easier way to manage the broker. You enabled the Management plugin, which includes a slick web interface that adds a bunch of functionality to the server. The process of enabling the plugin is simple: you run a single command at the shell, rabbitmq-plugins enable rabbitmq_management, and the plugin is ready to use. Taking that into account, wouldn’t it be nice if you could add custom behaviors to the broker?
In this chapter we’ll take a deep dive into RabbitMQ plugins, seeing what you can do with them and what features they bring to the table. You’ll learn how to enable plugins and, in case you don’t need their functionality anymore, you’ll also see how to uninstall them. You might be wondering where you can get plugins for RabbitMQ. Don’t worry; we’ve got you covered. Many cool plugins are out there and you’ll see where to get them.