public final class DirectRabbitListenerContainerFactoryConfigurer extends AbstractRabbitListenerContainerFactoryConfigurer<org.springframework.amqp.rabbit.config.DirectRabbitListenerContainerFactory>
DirectRabbitListenerContainerFactoryConfigurer
with sensible
defaults.Constructor and Description |
---|
DirectRabbitListenerContainerFactoryConfigurer()
Deprecated.
since 2.6.0 for removal in 3.0.0 in favor of
DirectRabbitListenerContainerFactoryConfigurer(RabbitProperties) |
DirectRabbitListenerContainerFactoryConfigurer(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.DirectRabbitListenerContainerFactory factory,
org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
Configure the specified rabbit listener container factory.
|
configure, getRabbitProperties, setMessageConverter, setMessageRecoverer, setRabbitProperties, setRetryTemplateCustomizers
@Deprecated public DirectRabbitListenerContainerFactoryConfigurer()
DirectRabbitListenerContainerFactoryConfigurer(RabbitProperties)
public DirectRabbitListenerContainerFactoryConfigurer(RabbitProperties rabbitProperties)
rabbitProperties
.rabbitProperties
- properties to usepublic void configure(org.springframework.amqp.rabbit.config.DirectRabbitListenerContainerFactory factory, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
AbstractRabbitListenerContainerFactoryConfigurer
configure
in class AbstractRabbitListenerContainerFactoryConfigurer<org.springframework.amqp.rabbit.config.DirectRabbitListenerContainerFactory>
factory
- the AbstractRabbitListenerContainerFactory
instance to
configureconnectionFactory
- the ConnectionFactory
to use