Class BindingFactoryBean
- java.lang.Object
-
- org.springframework.amqp.rabbit.config.BindingFactoryBean
-
- All Implemented Interfaces:
FactoryBean<Binding>
public class BindingFactoryBean extends Object implements FactoryBean<Binding>
- Author:
- Dave Syer, Gary Russell
-
-
Field Summary
-
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description BindingFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindinggetObject()Class<?>getObjectType()booleanisSingleton()voidsetAdminsThatShouldDeclare(AmqpAdmin... admins)voidsetArguments(Map<String,Object> arguments)voidsetDestinationExchange(Exchange destinationExchange)voidsetDestinationQueue(Queue destinationQueue)voidsetExchange(String exchange)voidsetIgnoreDeclarationExceptions(Boolean ignoreDeclarationExceptions)voidsetRoutingKey(String routingKey)voidsetShouldDeclare(boolean shouldDeclare)
-
-
-
Method Detail
-
setRoutingKey
public void setRoutingKey(String routingKey)
-
setExchange
public void setExchange(String exchange)
-
setDestinationQueue
public void setDestinationQueue(Queue destinationQueue)
-
setDestinationExchange
public void setDestinationExchange(Exchange destinationExchange)
-
setShouldDeclare
public void setShouldDeclare(boolean shouldDeclare)
-
setIgnoreDeclarationExceptions
public void setIgnoreDeclarationExceptions(Boolean ignoreDeclarationExceptions)
-
setAdminsThatShouldDeclare
public void setAdminsThatShouldDeclare(AmqpAdmin... admins)
-
getObject
public Binding getObject()
- Specified by:
getObjectin interfaceFactoryBean<Binding>
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceFactoryBean<Binding>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceFactoryBean<Binding>
-
-