brendanhay/amqp-subscribe-many — pull request #1 by matttproud-soundcloud (2012-09-14 10:38:42+00:00)
Title: Create explicit Consumer for queue subscriptions.

The previous code relies upon AMQP::Queue to automatically provision
a AMQP::Consumer against which *a single subscription may be
registered*. It is unclear from reading the Ruby AMQP documentation
why this previous design limitation exists; instead, it recommends
users who will register multiple subscriptions against the same queue
to create an explicit consumer with which to perform such actions.

With this change here, I can successfully start the Mothership's
batch processors using the H.A. AMQP library without the AMQP stack
emitting smoke and aborting.