Class: AceMQ::AMQP::Topology::Binding

Inherits:
Struct
  • Object
show all
Defined in:
lib/acemq/amqp/topology.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exchange ⇒ Object

Returns the value of attribute exchange

Returns:

  • (Object) —

    the current value of exchange



72
73
74
# File 'lib/acemq/amqp/topology.rb', line 72

def exchange
  @exchange
end

#queue ⇒ Object

Returns the value of attribute queue

Returns:

  • (Object) —

    the current value of queue



72
73
74
# File 'lib/acemq/amqp/topology.rb', line 72

def queue
  @queue
end

#routing_key ⇒ Object

Returns the value of attribute routing_key

Returns:

  • (Object) —

    the current value of routing_key



72
73
74
# File 'lib/acemq/amqp/topology.rb', line 72

def routing_key
  @routing_key
end

Instance Method Details

#to_s ⇒ Object



73
# File 'lib/acemq/amqp/topology.rb', line 73

def to_s = "#{exchange} -> #{queue} (#{routing_key})"