Class: Legion::Transport::Queues::TaskLog
- Inherits:
-
Legion::Transport::Queue
- Object
- Queue
- Legion::Transport::Queue
- Legion::Transport::Queues::TaskLog
- Defined in:
- lib/legion/transport/queues/task_log.rb
Constant Summary
Constants included from Common
Instance Method Summary collapse
Methods inherited from Legion::Transport::Queue
#acknowledge, #default_options, #delete, #dlx_enabled, #dlx_exchange_name, #ensure_dlx, #initialize, #nack_or_dlq, #own_queue?, #passive?, #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
7 8 9 |
# File 'lib/legion/transport/queues/task_log.rb', line 7 def queue_name 'task.log' end |
#queue_options ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/legion/transport/queues/task_log.rb', line 11 def hash = {} hash[:manual_ack] = true hash[:durable] = true hash[:exclusive] = false hash[:block] = false hash[:arguments] = { 'x-dead-letter-exchange': 'task.dlx' } hash end |