Class: Legion::Extensions::Mesh::Transport::Exchanges::Fanout

Inherits:
Transport::Exchange
  • Object
show all
Defined in:
lib/legion/extensions/mesh/transport/exchanges/fanout.rb

Instance Method Summary collapse

Instance Method Details

#default_optionsObject



17
18
19
20
21
# File 'lib/legion/extensions/mesh/transport/exchanges/fanout.rb', line 17

def default_options
  hash = super
  hash[:passive] = true
  hash
end

#default_typeObject



13
14
15
# File 'lib/legion/extensions/mesh/transport/exchanges/fanout.rb', line 13

def default_type
  'fanout'
end

#exchange_nameObject



9
10
11
# File 'lib/legion/extensions/mesh/transport/exchanges/fanout.rb', line 9

def exchange_name
  'amq.fanout'
end