examples/guides/queues/one_off_consumer.rb in bunny-2.2.2 vs examples/guides/queues/one_off_consumer.rb in bunny-2.3.0
- old
+ new
@@ -2,9 +2,11 @@
# encoding: utf-8
require "rubygems"
require "bunny"
+STDOUT.sync = true
+
conn = Bunny.new
conn.start
ch = conn.create_channel
q = ch.queue("bunny.examples.hello_world", :auto_delete => true)