Class RabbitBootstrapConfiguration

java.lang.Object
org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration
All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar

public class RabbitBootstrapConfiguration extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
An ImportBeanDefinitionRegistrar class that registers a RabbitListenerAnnotationBeanPostProcessor bean capable of processing Spring's @RabbitListener annotation. Also register a default RabbitListenerEndpointRegistry.

This configuration class is automatically imported when using the @EnableRabbit annotation.

Since:
1.4
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.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
  • Constructor Details

    • RabbitBootstrapConfiguration

      public RabbitBootstrapConfiguration()
  • Method Details

    • registerBeanDefinitions

      public void registerBeanDefinitions(@Nullable org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Specified by:
      registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar