org.springframework.amqp.core
Class Binding
java.lang.Object
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
Binding
public Binding(String destination,
Binding.DestinationType destinationType,
String exchange,
String routingKey,
Map<String,Object> arguments)
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
Copyright © 2011. All Rights Reserved.