public final class SimpleRabbitListenerContainerFactoryConfigurer extends AbstractRabbitListenerContainerFactoryConfigurer<org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory>
SimpleRabbitListenerContainerFactoryConfigurer
with sensible
defaults.Constructor and Description |
---|
SimpleRabbitListenerContainerFactoryConfigurer()
Deprecated.
since 2.6.0 for removal in 3.0.0 in favor of
SimpleRabbitListenerContainerFactoryConfigurer(RabbitProperties) |
SimpleRabbitListenerContainerFactoryConfigurer(RabbitProperties rabbitProperties)
Creates a new configurer that will use the given
rabbitProperties . |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory factory,
org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
Configure the specified rabbit listener container factory.
|
configure, getRabbitProperties, setMessageConverter, setMessageRecoverer, setRabbitProperties, setRetryTemplateCustomizers
@Deprecated public SimpleRabbitListenerContainerFactoryConfigurer()
SimpleRabbitListenerContainerFactoryConfigurer(RabbitProperties)
public SimpleRabbitListenerContainerFactoryConfigurer(RabbitProperties rabbitProperties)
rabbitProperties
.rabbitProperties
- properties to usepublic void configure(org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory factory, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
AbstractRabbitListenerContainerFactoryConfigurer
configure
in class AbstractRabbitListenerContainerFactoryConfigurer<org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory>
factory
- the AbstractRabbitListenerContainerFactory
instance to
configureconnectionFactory
- the ConnectionFactory
to use