Description
Gabriele Del Prete opened INT-3640 and commented
Using Spring Framwork 4.1.4 + Spring Integration 4.1.2 triggers the warning from BeanPostProcessorChecker about early configuration of bean and their inability to be processed by BeanPostProcessors.
This happens even with a very trivial app consisting only of a inbound stdin adapter, a channel and a poller: add int:annotation-config/ to the context XML and you'll get the warning. Same thing happens using AnnotationConfigApplicationContext and the @EnableIntegration
annotation (since both it and the xml directive just defers to IntegrationRegistrar).
I've created a simple project on GitHub to reproduce the problem.
2015-02-13 16:53:35,587 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'integrationGlobalProperties' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2015-02-13 16:53:35,588 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'integrationGlobalProperties' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2015-02-13 16:53:35,588 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'messageBuilderFactory' of type [class org.springframework.integration.support.DefaultMessageBuilderFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2015-02-13 16:53:35,651 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean '(inner bean)#406fcc9c' of type [class org.springframework.integration.channel.MessagePublishingErrorHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2015-02-13 16:53:35,651 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2015-02-13 16:53:35,653 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'taskScheduler' of type [class org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2015-02-13 16:53:35,653 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'integrationHeaderChannelRegistry' of type [class org.springframework.integration.channel.DefaultHeaderChannelRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Affects: 4.1.2
Reference URL: https://github.com/gdelprete/integrationregistrar-sample
Sub-tasks:
-
Fix early BeanFactory access from BeanPostProcessors: Phase I (Core and dependents) [INT-3661] #7620 Fix early BeanFactory access from BeanPostProcessors: Phase I (Core and dependents)
-
Fix early BeanFactory access from BeanPostProcessors: Phase II (JPA) [INT-3662] #7621 Fix early BeanFactory access from BeanPostProcessors: Phase II (JPA)
-
Fix early BeanFactory access from BeanPostProcessors: Phase III (Security) [INT-3663] #7622 Fix early BeanFactory access from BeanPostProcessors: Phase III (Security)
-
Fix early BeanFactory access from BeanPostProcessors: Phase IV (JMX) [INT-3664] #7623 Fix early BeanFactory access from BeanPostProcessors: Phase IV (JMX)
Issue Links:
- IntegrationEvaluationContextAware.setIntegrationEvaluationContext() invoked after afterPropertiesSet() [INT-3749] #7702 IntegrationEvaluationContextAware.setIntegrationEvaluationContext() invoked after afterPropertiesSet()
1 votes, 3 watchers