Sha256: ec12c5628daef2e3974aaf3a8eb6dcf113020a24c1e27f16651f9b3762be4e1f

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

module Legion::Extensions::Health
  module Transport
    module Queues
      class Health < Legion::Transport::Queue
        def queue_name
          'node.health'
        end

        def queue_options
          {
            arguments:   {
              'x-single-active-consumer': true,
              'x-dead-letter-exchange':   'node.dlx'
            },
            auto_delete: false
          }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lex-health-0.1.4 lib/legion/extensions/health/transport/queues/health.rb
lex-health-0.1.3 lib/legion/extensions/health/transport/queues/health.rb