Displaying 1 result from an estimated 1 matches for "danielsdeleo".
2010 Nov 09
2
AMQP and Unicorn (mq gem)
Hi all,
I''m having issues with Unicorn and connecting to 
RabbitMQ using the tmm1-amqp gem.
 I''ve tried lots of  approaches.
The classic initializer with Thread.new { EM.run } 
for the Rails app and even tried using 
the Qusion library. 
 (https://github.com/danielsdeleo/qusion)
I''ve made a simple mod to Qusion for it to monkey patch 
unicorn too. 
The code looks like:
/vendor/plugins/qusion/lib/amqp.rb
module AMQP
  def self.start_web_dispatcher(amqp_settings={})
    @settings = settings.merge(amqp_settings)
    case Qusion::ServerSpy.server_type...