ScheduledAnnotationBeanPostProcessor should fall back to default TaskScheduler by name [SPR-13236] #17827
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Dave Syer opened SPR-13236 and commented
Spring Integration creates a bean of type
TaskScheduler
but only if it doesn't find one using a sensible search strategy. The strategy inScheduledAnnotationBeanPostProcessor
is different and not as sensible IMO (it has no fallback to a well-known bean name if there are multiple instances). This can be surprising for users.See discussion here for background: spring-projects/spring-boot#3508, spring-attic/spring-xd#1747 (comment)
Affects: 4.2 RC2
Issue Links:
@EnableAsync
's javadoc)The text was updated successfully, but these errors were encountered: