Class: Legion::Transport::Queues::TaskLog
- Inherits:
-
Legion::Transport::Queue
- Object
- CONNECTOR::Queue
- Legion::Transport::Queue
- Legion::Transport::Queues::TaskLog
- Defined in:
- lib/legion/transport/queues/task_log.rb
Instance Method Summary collapse
Methods inherited from Legion::Transport::Queue
#acknowledge, #default_options, #delete, #initialize, #recreate_queue, #reject
Methods included from Common
#channel, #channel_open?, #close, #close!, #deep_merge, #generate_consumer_tag, #open_channel, #options_builder
Constructor Details
This class inherits a constructor from Legion::Transport::Queue
Instance Method Details
#queue_name ⇒ Object
5 6 7 |
# File 'lib/legion/transport/queues/task_log.rb', line 5 def queue_name 'task.log' end |
#queue_options ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/legion/transport/queues/task_log.rb', line 9 def hash = {} hash[:manual_ack] = true hash[:durable] = true hash[:exclusive] = false hash[:block] = false hash[:arguments] = { 'x-max-priority': 255, 'x-dead-letter-exchange': 'task.dlx' } hash end |