@Scheduled methods in @Lazy beans are not scheduled [SPR-12872] #17470
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Ivan Bovin opened SPR-12872 and commented
If we have a
@Scheduled
method in a@Lazy
bean, it will be added toScheduledTaskRegistrar
(e.g. using aaddFixedDelayTask
method) but not scheduled in thetaskScheduler
.Example:
Affects: 4.1.5
Issue Links:
@Scheduled
methods in@Lazy
beans are not scheduledReferenced from: commits ab478d1
The text was updated successfully, but these errors were encountered: