org.springframework.amqp.rabbit.config
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindingFactoryBean
public BindingFactoryBean()
setArguments
public void setArguments(Map<String,Object> arguments)
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)
setAdminsThatShouldDeclare
public void setAdminsThatShouldDeclare(AmqpAdmin... adminsThatShouldDeclare)
getObject
public Binding getObject()
throws Exception
- Specified by:
getObject in interface FactoryBean<Binding>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType in interface FactoryBean<Binding>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface FactoryBean<Binding>