Permalink
Browse files

adapted outdated comment in rpc example

  • Loading branch information...
skaes committed Nov 30, 2010
1 parent 2b0ec91 commit 4a9a54cd9c790ef183478e3e8b890814df3a14bd
Showing with 3 additions and 3 deletions.
  1. +3 −3 examples/rpc.rb
View
@@ -9,13 +9,13 @@
client = Beetle::Client.new
-# register a durable queue named 'test'
-# this implicitly registers a durable topic exchange called 'test'
+# register a durable queue named 'echo'
+# this implicitly registers a durable topic exchange called 'echo'
client.register_queue(:echo)
client.register_message(:echo)
if ARGV.include?("--server")
- # register a handler for the test message, listing on queue "test"
+ # register a handler for the echo message, listing on queue "echo"
# echoing all data sent to it
client.register_handler(:echo) do |m|
# send data back to publisher

0 comments on commit 4a9a54c

Please sign in to comment.