Permalink
Browse files

Typo

  • Loading branch information...
1 parent 7c00e28 commit 3dca75c3766cfeb40d4eaa2240f8399c178eb675 Michael Klishin committed Jan 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/connection/automatic_recovery_with_client_named_queues.rb
@@ -27,7 +27,7 @@
rk = ["abc", "def"].sample
begin
- x.publish(rand.to_s, :routing_key => rk)
+ x.publish(data, :routing_key => rk)
puts "Published #{data}, routing key: #{rk}"
# happens when a message is published before the connection
# is recovered

0 comments on commit 3dca75c

Please sign in to comment.