examples/simple_headers_08.rb in bunny-0.5.3 vs examples/simple_headers_08.rb in bunny-0.6.0

- old
+ new

@@ -30,10 +30,10 @@ # get messages from the queue - should only be msg 1 that got through msg = "" until msg == :queue_empty do - msg = q.pop + msg = q.pop[:payload] puts 'This is a message from the header_q1 queue: ' + msg + "\n" unless msg == :queue_empty end # close the client connection b.stop \ No newline at end of file