Skip to content

ThreadPoolTaskExecutor deprecated? #34273

@adnsimona

Description

@adnsimona

Hi.

We're updating Spring Boot from 3.3 to 3.4.

I found a deprecation warning that we forgot to handle with the 3.0 upgrade:
ListenableFuture.
We are not using this directly, but overriding ThreadPoolTaskExecutor's submitListenable method.
I don't see any deprecation warning on the ThreadPoolTaskExecutor class, nor it's functions that uses ListenableFuture.
It is also implementing AsyncListenableTaskExecutor that is also deprecated. From this I guess this class should be also deprecated.

My goal is now to replace this ThreadPoolTaskExecutor with a close equivalent.
Though I didn't found yet what I'm looking for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions