Skip to content

引入 rocketmq-spring-boot-starter 2.3.3 出现警告 #723

Closed

Description

@lin-mt
2025-04-29T14:34:51.741+08:00  WARN 38488 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.rocketmq.spring.autoconfigure.ListenerContainerConfiguration' of type [org.apache.rocketmq.spring.autoconfigure.ListenerContainerConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-04-29T14:34:51.746+08:00  WARN 38488 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.rocketmq.spring.autoconfigure.MessageConverterConfiguration' of type [org.apache.rocketmq.spring.autoconfigure.MessageConverterConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-04-29T14:34:51.785+08:00  WARN 38488 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'createRocketMQMessageConverter' of type [org.apache.rocketmq.spring.support.RocketMQMessageConverter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-04-29T14:34:51.800+08:00  WARN 38488 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'rocketmq-org.apache.rocketmq.spring.autoconfigure.RocketMQProperties' of type [org.apache.rocketmq.spring.autoconfigure.RocketMQProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-04-29T14:34:51.802+08:00  WARN 38488 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'rocketMQMessageListenerContainerRegistrar' of type [org.apache.rocketmq.spring.support.RocketMQMessageListenerContainerRegistrar] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies.

Activity

  1. added a commit that references this issue on Apr 30, 2025
    1653c60
  2. mxp131011 commented on Jun 7, 2025

    @mxp131011

    有临时解决方案吗

  3. added a commit that references this issue on Jun 13, 2025
  4. qingo00o commented on Dec 23, 2025

    @qingo00o

    rocketmq-v5-client-spring-boot还是有这个问题

  5. RockteMQ-AI commented on Aug 31, 2026

    @RockteMQ-AI

    Issue Evaluation

    Category: question | Status: Answered

    These warnings are caused by Spring Boot's bean initialization order. The RocketMQMessageListenerBeanPostProcessor depends on beans from ListenerContainerConfiguration and MessageConverterConfiguration, which causes them to be initialized earlier than typical.

    This is a harmless warning — it does not affect functionality. The beans are still created correctly; they just bypass some post-processors (like auto-proxying) because they are needed early.

    Possible fix (for maintainers): Adjust the auto-configuration to use @DependsOn or @Lazy annotations to control initialization order, or defer the RocketMQMessageListenerBeanPostProcessor registration.

    For users: you can safely ignore these warnings, or suppress them by adding to application.properties:

    logging.level.org.springframework.context.support=ERROR
    

    Automated evaluation by RockteMQ-AI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions