examples/producer.rb in songkick_queue-0.3.0 vs examples/producer.rb in songkick_queue-0.4.0
- old
+ new
@@ -1,8 +1,8 @@
require_relative '../lib/songkick_queue'
SongkickQueue.configure do |config|
- config.amqp = 'amqp://localhost:5672'
+ config.host = 'localhost'
config.logger = Logger.new(STDOUT)
end
3.times do
SongkickQueue.publish('notifications-service.tweets', { text: 'Hello world', user_id: 57237722 })