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 Binding
getObject()
Class<?>
getObjectType()
boolean
isSingleton()
void
setAdminsThatShouldDeclare(AmqpAdmin... admins)
void
setArguments(Map<String,Object> arguments)
void
setDestinationExchange(Exchange destinationExchange)
void
setDestinationQueue(Queue destinationQueue)
void
setExchange(String exchange)
void
setIgnoreDeclarationExceptions(Boolean ignoreDeclarationExceptions)
void
setRoutingKey(String routingKey)
void
setShouldDeclare(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:
getObject
in interfaceFactoryBean<Binding>
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceFactoryBean<Binding>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceFactoryBean<Binding>
-
-