Module: AMQP

Defined in:
lib/jessica/amqp_client_connector.rb

Overview

attempt to create an api that is compatible with the amqp gem

Defined Under Namespace

Modules: Client Classes: Channel, Connection

Constant Summary collapse

IncompatibleOptionsError =
Class.new(StandardError)
ClientConnectorError =
Class.new(StandardError)

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.settingsObject



7
8
9
# File 'lib/jessica/amqp_client_connector.rb', line 7

def self.settings
  @settings ||= AMQP::Client::Settings.default
end

Instance Method Details

#factory(factory = nil) ⇒ Object



11
12
13
# File 'lib/jessica/amqp_client_connector.rb', line 11

def factory(factory=nil)
  factory ? @factory = factory : @factory
end