-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering RabbitMQ
By :

Let's continue on with Bunny by exploring a bit more of the AMQP model. As it stands, the AMQP model is so powerful that it will let you abstract out a lot of messaging architectures pretty easily (I personally think that only ZeroMQ comes close to it in the same way as being a building block of many other concepts within the world of messaging).
Let's continue case by case.
Let's touch the concept of background queues and workers lightly. I say lightly because I plan to introduce a popular and production grade background jobs library called Sneakers – by yours truly, later on in this chapter.
The concept of workers is very close to what we've seen so far. We will only slightly change the semantics of our producer and call it a manager (manager.rb
):
require "bunny" conn = Bunny.new conn.start channel = conn.create_channel queue = channel.queue("jobs", :durable => true) queue.publish("do this...
Change the font size
Change margin width
Change background colour