Sha256: fcf3f56282cb3df72b999328f99b8cc2e04212a23f3453d5f5a37a47ca466dcd

Contents?: true

Size: 577 Bytes

Versions: 2

Compression:

Stored size: 577 Bytes

Contents

# AMQP support for Brown agents.
#
# Including this module in your agent provides support for publishing and
# receiving AMQP messages from an AMQP broker, such as RabbitMQ.
#
# The methods in this module itself aren't particularly interesting to end-users;
# the good stuff is in {Brown::Agent::AMQP::ClassMethods}.
#
module Brown::Agent::AMQP
	private

	def self.included(mod)
		mod.url :AMQP_URL
		mod.prepend(Brown::Agent::AMQP::Initializer)
		mod.extend(Brown::Agent::AMQP::ClassMethods)
	end
end

require_relative "amqp/initializer"
require_relative "amqp/class_methods"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brown-2.2.2.27.gbc378e8 lib/brown/agent/amqp.rb
brown-2.2.2.25.g85ddf08 lib/brown/agent/amqp.rb