Class Binding
java.lang.Object
org.springframework.amqp.core.AbstractDeclarable
org.springframework.amqp.core.Binding
- All Implemented Interfaces:
Declarable
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, Ngoc Nhan, Artem Bilan
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.springframework.amqp.core.AbstractDeclarable
arguments
-
Constructor Summary
ConstructorsConstructorDescriptionBinding
(String destination, Binding.DestinationType destinationType, @Nullable String exchange, String routingKey, @Nullable Map<String, @Nullable Object> arguments) Binding
(@Nullable Queue lazyQueue, @Nullable String destination, Binding.DestinationType destinationType, @Nullable String exchange, @Nullable String routingKey, @Nullable Map<String, @Nullable Object> arguments) -
Method Summary
Methods inherited from class org.springframework.amqp.core.AbstractDeclarable
addArgument, getArguments, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, setIgnoreDeclarationExceptions, setShouldDeclare, shouldDeclare
-
Constructor Details
-
Binding
-
Binding
-
-
Method Details
-
getDestination
-
getDestinationType
-
getExchange
-
getRoutingKey
-
isDestinationQueue
public boolean isDestinationQueue() -
toString
-