spring-projects / spring-statemachine

Spring Statemachine is a framework for application developers to use state machine concepts with Spring.
1.53k stars 599 forks source link

Startup Log message "StateMachineAnnotationPostProcessorConfiguration is not eligible..." #1022

Open vghero opened 2 years ago

vghero commented 2 years ago

We're using Spring Statemachine 2.1.3 and we're getting a log message like below during startup. Could it be that StateMachineAnnotationPostProcessorConfiguration is missing a @Role(BeanDefinition.ROLE_INFRASTRUCTURE) to exclude this one from the checker? Or does it need actual fixing?

2022-02-14 17:15:56,129 [INFO]  main o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker  - Bean 'org.springframework.statemachine.config.configuration.StateMachineAnnotationPostProcessorConfiguration' of type [org.springframework.statemachine.config.configuration.StateMachineAnnotationPostProcessorConfiguration$$EnhancerBySpringCGLIB$$cb1fe37] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
philippn commented 5 months ago

With Spring Boot 3.2, this is now being reported as Warning during startup (previously it was INFO).