-
-
Save michaelklishin/3d995824090df94558b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "amqp/utilities/event_loop_helper" | |
require "amqp/integration/rails" | |
AMQP::Utilities::EventLoopHelper.run | |
AMQP::Integration::Rails.start do |connection| | |
puts "Connected to AMQP broker" | |
AMQP.channel = AMQP::Channel.new(connection) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment