Package org.springframework.amqp.rabbit.annotation
Annotations and supporting classes for declarative Rabbit listener
endpoint
-
Interface Summary Interface Description RabbitListenerConfigurer Optional interface to be implemented by Spring managed bean willing to customize how Rabbit listener endpoints are configured. -
Class Summary Class Description MultiRabbitBootstrapConfiguration AnImportBeanDefinitionRegistrar
class that registers aMultiRabbitListenerAnnotationBeanPostProcessor
bean, if MultiRabbit is enabled.MultiRabbitListenerAnnotationBeanPostProcessor An extension ofRabbitListenerAnnotationBeanPostProcessor
that indicates the proper RabbitAdmin bean to be used when processing to the listeners, and also associates it to the declarables (Exchanges, Queues, and Bindings) returned.RabbitBootstrapConfiguration AnImportBeanDefinitionRegistrar
class that registers aRabbitListenerAnnotationBeanPostProcessor
bean capable of processing Spring's @RabbitListener
annotation.RabbitListenerAnnotationBeanPostProcessor Bean post-processor that registers methods annotated withRabbitListener
to be invoked by a AMQP message listener container created under the cover by aRabbitListenerContainerFactory
according to the parameters of the annotation.RabbitListenerConfigurationSelector ADeferredImportSelector
implementation with the lowest order to import aMultiRabbitBootstrapConfiguration
andRabbitBootstrapConfiguration
as late as possible. -
Annotation Types Summary Annotation Type Description Argument Represents an argument used when declaring queues etc within aQueueBinding
.EnableRabbit Enable Rabbit listener annotated endpoints that are created under the cover by aRabbitListenerContainerFactory
.Exchange An exchange to which to bind aRabbitListener
queue.Queue A queue definition used within the bindings attribute of aQueueBinding
.QueueBinding Defines a queue, the exchange it is to be bound to, and an optional binding key; used with@RabbitListener
.RabbitHandler Annotation that marks a method to be the target of a Rabbit message listener within a class that is annotated withRabbitListener
.RabbitListener Annotation that marks a method to be the target of a Rabbit message listener on the specifiedRabbitListener.queues()
(orRabbitListener.bindings()
).RabbitListeners Container annotation that aggregates severalRabbitListener
annotations.