Sha256: de353e9058a54c6b034f7f36f2447e39e2fb2777b03740174a8f97addd2cd92f
Contents?: true
Size: 1.08 KB
Versions: 6
Compression:
Stored size: 1.08 KB
Contents
require 'tengine/support/config' module Tengine::Support::Config::Amqp class Connection include Tengine::Support::Config::Definition field :host , 'hostname to connect queue.', :default => 'localhost', :type => :string field :port , "port to connect queue.", :default => 5672, :type => :integer field :vhost, "vhost to connect queue.", :type => :string field :user , "username to connect queue.", :type => :string field :pass , "password to connect queue.", :type => :string field :heartbeat_interval , "heartbeat interval client uses, in seconds.", :default => 0, :type => :integer end class Exchange include Tengine::Support::Config::Definition field :name , "exchange name.", :type => :string field :type , "exchange type.", :type => :string, :default => 'direct' field :durable, "exchange durable.", :type => :boolean, :default => true end class Queue include Tengine::Support::Config::Definition field :name , "queue name.", :type => :string field :durable, "queue durable.", :type => :boolean, :default => true end end
Version data entries
6 entries across 6 versions & 1 rubygems