class Legion::Extensions::Health::Transport::Queues::Health

Public Instance Methods

queue_name() click to toggle source
# File lib/legion/extensions/health/transport/queues/health.rb, line 5
def queue_name
  'node.health'
end
queue_options() click to toggle source
# File lib/legion/extensions/health/transport/queues/health.rb, line 9
def queue_options
  {
    arguments: {
      'x-single-active-consumer': true,
      'x-dead-letter-exchange': 'node.dlx'
    },
    auto_delete: false
  }
end