Sha256: d0dfc4e0ce8aec67ee7249a79697ff748f580620908926cd6e892ba02bb20ff7

Contents?: true

Size: 287 Bytes

Versions: 8

Compression:

Stored size: 287 Bytes

Contents

require 'socket'

module Legion::Extensions::Node::Transport::Queues
  class Node < Legion::Transport::Queue
    def queue_name
      "node.#{Legion::Settings[:client][:name]}"
    end

    def queue_options
      { durable: false, exclusive: true, auto_delete: true }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lex-node-0.2.0 lib/legion/extensions/node/transport/queues/node.rb
lex-node-0.1.7 lib/legion/extensions/node/transport/queues/node.rb
lex-node-0.1.6 lib/legion/extensions/node/transport/queues/node.rb
lex-node-0.1.5 lib/legion/extensions/node/transport/queues/node.rb
lex-node-0.1.4 lib/legion/extensions/node/transport/queues/node.rb
lex-node-0.1.3 lib/legion/extensions/node/transport/queues/node.rb
lex-node-0.1.2 lib/legion/extensions/node/transport/queues/node.rb
lex-node-0.1.1 lib/legion/extensions/node/transport/queues/node.rb