Package org.springframework.amqp.core
Class Binding
- java.lang.Object
-
- org.springframework.amqp.core.AbstractDeclarable
-
- org.springframework.amqp.core.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 withAmqpAdmin
, or created via aBindingBuilder
.- Author:
- Mark Pollack, Mark Fisher, Dave Syer, Gary Russell
- See Also:
AmqpAdmin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Binding.DestinationType
The binding destination.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDestination()
Binding.DestinationType
getDestinationType()
String
getExchange()
String
getRoutingKey()
boolean
isDestinationQueue()
String
toString()
-
Methods inherited from class org.springframework.amqp.core.AbstractDeclarable
addArgument, getArguments, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, setIgnoreDeclarationExceptions, setShouldDeclare, shouldDeclare
-
-
-
-
Method Detail
-
getDestination
public String getDestination()
-
getDestinationType
public Binding.DestinationType getDestinationType()
-
getExchange
public String getExchange()
-
getRoutingKey
public String getRoutingKey()
-
isDestinationQueue
public boolean isDestinationQueue()
-
-