Module: Woodhouse::Dispatchers

Defined in:
lib/woodhouse/dispatchers.rb

Defined Under Namespace

Classes: BunnyDispatcher, CommonAmqpDispatcher, FileDispatcher, HotBunniesDispatcher, LocalDispatcher, LocalPoolDispatcher, TestDispatcher

Class Method Summary (collapse)

Class Method Details

+ (Object) default_amqp_dispatcher



3
4
5
6
7
8
9
# File 'lib/woodhouse/dispatchers.rb', line 3

def self.default_amqp_dispatcher
  if RUBY_ENGINE =~ /jruby/
    Woodhouse::Dispatchers::HotBunniesDispatcher
  else
    Woodhouse::Dispatchers::BunnyDispatcher
  end
end