examples/mq/simple.rb in amqp-0.5.9 vs examples/mq/simple.rb in amqp-0.6.0
- old
+ new
@@ -3,10 +3,10 @@
require 'pp'
EM.run do
# connect to the amqp server
- connection = AMQP.connect(:host => 'dev.rabbitmq.com', :logging => false)
+ connection = AMQP.connect(:host => 'localhost', :logging => false)
# open a channel on the AMQP connection
channel = MQ.new(connection)
# declare a queue on the channel