Task scheduler configured by XML is not eligible for getting processed by all BeanPostProcessors #34015
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Hello!
Seems like XML-based scheduling configuration from documentation produces well-known "is not eligible" warning.
Minimal sample
Tested on Spring Core versions: 6.1.15, 6.2.0.
applicationContext.xml
:Reference: https://docs.spring.io/spring-framework/reference/integration/scheduling.html#scheduling-enable-annotation-support
Main.java
:Starting results in singular log message:
Unfortunately, I haven't found any way to mark this bean as infrastructure using only XML.
Related: #32055, spring-projects/spring-integration#7602
Best regards!
The text was updated successfully, but these errors were encountered: