Cosmetics

This commit is contained in:
Michael Klishin 2013-07-17 21:54:25 +04:00
parent b5dd928b9c
commit e9d2c78e0a

View File

@ -9,7 +9,7 @@ conn.start
ch = conn.create_channel
q = ch.queue("hello")
puts "Will wait from messages in #{q.name}"
puts " [*] Waiting for messages in #{q.name}. To exit press CTRL+C"
q.subscribe(:block => true) do |delivery_info, properties, body|
puts " [x] Received #{body}"