Skip to content

Consistent ErrorHandler support in TaskScheduler variants #32460

Closed
@jhoeller

Description

@jhoeller

Related to #23755, there is another area of inconsistency among Spring's TaskScheduler implementations: ErrorHandler support. While ThreadPoolTaskScheduler applies a configured ErrorHandler to all scheduler and executor operations, ConcurrentTaskScheduler only applies it to scheduler operations (but not the executor operations inherited from ConcurrentTaskExecutor), and SimpleAsyncTaskScheduler does not have a configurable ErrorHandler at all (just default error handling with recent refinements: #32298, #32381). This should be made as consistent as possible in 6.2.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions