Class: Cloudist::ReplyQueue
- Inherits:
-
Queues::BasicQueue
- Object
- Queues::BasicQueue
- Cloudist::ReplyQueue
- Defined in:
- lib/cloudist/queues/reply_queue.rb
Instance Attribute Summary
Attributes inherited from Queues::BasicQueue
#channel, #exchange, #options, #prefetch, #queue, #queue_name
Instance Method Summary collapse
-
#initialize(queue_name, options = {}) ⇒ ReplyQueue
constructor
A new instance of ReplyQueue.
Methods inherited from Queues::BasicQueue
#destroy, #inspect, #log, #print_status, #publish, #publish_to_q, #setup, #setup_exchange, #subscribe, #tag, #teardown
Constructor Details
#initialize(queue_name, options = {}) ⇒ ReplyQueue
Returns a new instance of ReplyQueue.
3 4 5 6 7 8 9 10 |
# File 'lib/cloudist/queues/reply_queue.rb', line 3 def initialize(queue_name, ={}) [:auto_delete] = true [:nowait] = false @prefetch = Cloudist.listener_prefetch super(queue_name, ) end |