Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adapted outdated comment in rpc example

  • Loading branch information...
commit 4a9a54cd9c790ef183478e3e8b890814df3a14bd 1 parent 2b0ec91
@skaes skaes authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 examples/rpc.rb
View
6 examples/rpc.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.