Class: RubyRabbitmqJanus::Rabbit::Publisher::PublisherAdmin
- Inherits:
-
RubyRabbitmqJanus::Rabbit::Publisher
- Object
- RubyRabbitmqJanus::Rabbit::Publisher
- RubyRabbitmqJanus::Rabbit::Publisher::PublisherAdmin
- Defined in:
- lib/rrj/rabbit/publish/admin.rb
Overview
This publisher send and read an message in admin queues
Instance Attribute Summary collapse
-
#reply ⇒ Object
readonly
private
Returns the value of attribute reply.
Instance Method Summary collapse
-
#initialize(exchange) ⇒ PublisherAdmin
constructor
Intialize an queue non eclusive for admin/monitor API with Janus.
-
#queue_from ⇒ Object
private
Define queue used for posting a message to API admin.
Constructor Details
#initialize(exchange) ⇒ PublisherAdmin
Intialize an queue non eclusive for admin/monitor API with Janus
10 11 12 13 |
# File 'lib/rrj/rabbit/publish/admin.rb', line 10 def initialize(exchange) super(exchange) @reply = exchange.queue(queue_from) end |
Instance Attribute Details
#reply ⇒ Object (readonly, private)
Returns the value of attribute reply.
17 18 19 |
# File 'lib/rrj/rabbit/publish/admin.rb', line 17 def reply @reply end |