concept consumer application in category rabbitmq

This is an excerpt from Manning's book RabbitMQ in Depth.
To decouple the user-facing login application from directly writing to the database, I looked into publishing messages to message-oriented middleware or a centralized message broker that would then distribute the messages to any number of consumer applications that would do the database writes required. I experimented with several different message brokers, and ultimately I landed on RabbitMQ as my broker of choice.
We’ll create the RPC worker as a consumer application that will receive messages containing image files and perform image recognition on them using the excellent OpenCV (http://opencv.org), drawing a box around each face in the photo. Once an image has been processed, the new image will be published back through RabbitMQ, using the routing information provided in the original message’s properties (figure 6.5).