Skip to content

Commit

Permalink
Merge pull request #51 from gthiruva/patch-1
Browse files Browse the repository at this point in the history
Patch to the simple_consumer.rb example.
  • Loading branch information
michaelklishin committed May 3, 2012
2 parents af6d5e3 + 9415eeb commit 00384af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simple_consumer.rb
Expand Up @@ -48,7 +48,7 @@


# subscribe to queue # subscribe to queue
q.subscribe(:consumer_tag => 'testtag1', :timeout => 30) do |msg| q.subscribe(:consumer_tag => 'testtag1', :timeout => 30) do |msg|
puts "#{q.subscription.message_count}: #{msg[:payload]}" puts "#{q.default_consumer.message_count}: #{msg[:payload]}"
end end


# Close client # Close client
Expand Down

0 comments on commit 00384af

Please sign in to comment.