Spring AMQP

org.springframework.amqp.core
Class Binding

java.lang.Object
  extended by org.springframework.amqp.core.Binding

public class Binding
extends Object

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
See Also:
AmqpAdmin

Nested Class Summary
static class Binding.DestinationType
           
 
Constructor Summary
Binding(String destination, Binding.DestinationType destinationType, String exchange, String routingKey, Map<String,Object> arguments)
           
 
Method Summary
 Map<String,Object> getArguments()
           
 String getDestination()
           
 Binding.DestinationType getDestinationType()
           
 String getExchange()
           
 String getRoutingKey()
           
 boolean isDestinationQueue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Binding

public Binding(String destination,
               Binding.DestinationType destinationType,
               String exchange,
               String routingKey,
               Map<String,Object> arguments)
Method Detail

getDestination

public String getDestination()

getDestinationType

public Binding.DestinationType getDestinationType()

getExchange

public String getExchange()

getRoutingKey

public String getRoutingKey()

getArguments

public Map<String,Object> getArguments()

isDestinationQueue

public boolean isDestinationQueue()

toString

public String toString()
Overrides:
toString in class Object

Spring AMQP

Copyright © 2011. All Rights Reserved.