Class Binding

  • All Implemented Interfaces:
    Declarable

    public class Binding
    extends AbstractDeclarable
    Simple container collecting information to describe a binding. Takes String destination and exchange names as arguments to facilitate wiring using code based configuration. Can be used in conjunction with AmqpAdmin, or created via a BindingBuilder.
    Author:
    Mark Pollack, Mark Fisher, Dave Syer, Gary Russell
    See Also:
    AmqpAdmin
    • Constructor Detail

      • Binding

        public Binding​(java.lang.String destination,
                       Binding.DestinationType destinationType,
                       java.lang.String exchange,
                       java.lang.String routingKey,
                       @Nullable
                       java.util.Map<java.lang.String,​java.lang.Object> arguments)
    • Method Detail

      • getDestination

        public java.lang.String getDestination()
      • getExchange

        public java.lang.String getExchange()
      • getRoutingKey

        public java.lang.String getRoutingKey()
      • isDestinationQueue

        public boolean isDestinationQueue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object