Class: AMQP::Connection
- Inherits:
-
Object
- Object
- AMQP::Connection
- Defined in:
- lib/jessica/amqp_client_connector.rb
Class Method Summary collapse
Class Method Details
.new(options = nil) ⇒ Object
46 47 48 49 50 |
# File 'lib/jessica/amqp_client_connector.rb', line 46 def self.new(=nil) @options = AMQP::Client::Settings.configure( || AMQP.settings) factory = ? RabbitMQClient.factory(@options) : AMQP.factory() || AMQP.factory(RabbitMQClient.factory(@options)) RabbitMQClient.new(:factory => factory) end |