Class: Legion::Transport::Queues::Node
- Inherits:
-
Legion::Transport::Queue
- Object
- CONNECTOR::Queue
- Legion::Transport::Queue
- Legion::Transport::Queues::Node
- Defined in:
- lib/legion/transport/queues/node.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/node.rb', line 5 def queue_name "node.#{Legion::Settings['client']['name']}" end |
#queue_options ⇒ Object
9 10 11 |
# File 'lib/legion/transport/queues/node.rb', line 9 def { durable: false, auto_delete: true, arguments: { 'x-dead-letter-exchange': 'node.dlx' } } end |