Module AMQ::Client::Async::Adapter::ClassMethods
In: lib/amq/client/async/adapter.rb

Methods

Public Instance methods

Can be overriden by higher-level libraries like amqp gem or bunny. Defaults to AMQ::Client::PossibleAuthenticationFailure.

@return [Class]

Establishes connection to AMQ broker and returns it. New connection object is yielded to the block if it is given.

@example Specifying adapter via the :adapter option

  AMQ::Client::Adapter.connect(:adapter => "socket")

@example Specifying using custom adapter class

  AMQ::Client::SocketClient.connect

@param [Hash] Connection parameters, including :adapter to use. @api public

@return [Boolean] Current value of logging flag.

Turns loggin on or off.

Can be overriden by higher-level libraries like amqp gem or bunny. Defaults to AMQ::Client::TCPConnectionFailed.

@return [Class]

[Validate]