Module: Untied::Publisher::AMQP

Defined in:
lib/untied-publisher/amqp.rb,
lib/untied-publisher/amqp/producer.rb

Defined Under Namespace

Classes: Producer

Class Method Summary collapse

Class Method Details

.producerObject



11
12
13
# File 'lib/untied-publisher/amqp.rb', line 11

def self.producer
  Untied::Publisher::AMQP::Producer
end

.startObject



7
8
9
# File 'lib/untied-publisher/amqp.rb', line 7

def self.start
  config.channel ||= ::AMQP::Channel.new(::AMQP.connection)
end