examples/hello_world.rb in amqp-1.0.0.pre2 vs examples/hello_world.rb in amqp-1.0.0
- old
+ new
@@ -8,10 +8,10 @@
require 'amqp'
EventMachine.run do
connection = AMQP.connect(:host => '127.0.0.1')
- puts "Connected to AMQP broker. Running #{AMQP::VERSION} version of the gem..."
+ puts "Connected to RabbitMQ. Running #{AMQP::VERSION} version of the gem..."
channel = AMQP::Channel.new(connection)
queue = channel.queue("amqpgem.examples.hello_world", :auto_delete => true)
exchange = channel.default_exchange