Class RabbitBootstrapConfiguration
- java.lang.Object
-
- org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration
-
- All Implemented Interfaces:
ImportBeanDefinitionRegistrar
public class RabbitBootstrapConfiguration extends java.lang.Object implements ImportBeanDefinitionRegistrar
AnImportBeanDefinitionRegistrar
class that registers aRabbitListenerAnnotationBeanPostProcessor
bean capable of processing Spring's @RabbitListener
annotation. Also register a defaultRabbitListenerEndpointRegistry
.This configuration class is automatically imported when using the @
EnableRabbit
annotation.- Since:
- 1.4
- Author:
- Stephane Nicoll, Artem Bilan
- See Also:
RabbitListenerAnnotationBeanPostProcessor
,RabbitListenerEndpointRegistry
,EnableRabbit
-
-
Constructor Summary
Constructors Constructor Description RabbitBootstrapConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
-
-
-
Method Detail
-
registerBeanDefinitions
public void registerBeanDefinitions(@Nullable AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
- Specified by:
registerBeanDefinitions
in interfaceImportBeanDefinitionRegistrar
-
-