examples/guides/extensions/dead_letter_exchange.rb in bunny-0.9.0.pre8 vs examples/guides/extensions/dead_letter_exchange.rb in bunny-0.9.0.pre9

- old
+ new

@@ -21,10 +21,10 @@ sleep 0.2 delivery_info, _, _ = q.pop(:ack => true) puts "#{dlq.message_count} messages dead lettered so far" puts "Rejecting a message" -ch.nack(delivery_info.delivery_tag, false) +ch.nack(delivery_info.delivery_tag) sleep 0.2 puts "#{dlq.message_count} messages dead lettered so far" dlx.delete puts "Disconnecting..."