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
  • Constructor Details

    • BindingFactoryBean

      public BindingFactoryBean()
  • Method Details

    • 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)
    • setIgnoreDeclarationExceptions

      public void setIgnoreDeclarationExceptions(Boolean ignoreDeclarationExceptions)
    • setAdminsThatShouldDeclare

      public void setAdminsThatShouldDeclare(AmqpAdmin... admins)
    • getObject

      public Binding getObject()
      Specified by:
      getObject in interface FactoryBean<Binding>
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface FactoryBean<Binding>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface FactoryBean<Binding>