Permalink
Browse files

Merge branch 'master' of github.com:ruby-amqp/bunny

  • Loading branch information...
2 parents d56df10 + 9f1004a commit 9bb190f1329aad758c95b76261c61527370a7038 Michael Klishin committed Jan 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bunny/queue.rb
View
@@ -112,7 +112,7 @@ def subscribe(opts = {
!opts[:ack],
opts[:exclusive],
opts[:arguments])
- puts "Added consumer #{ctag} on queue #{@name}"
+
consumer.on_delivery(&block)
consumer.on_cancellation(&opts[:on_cancellation]) if opts[:on_cancellation]

0 comments on commit 9bb190f

Please sign in to comment.