Skip to content

Spring Boot versions 3.x.x problems with context Inheriterance in async methods #36763

@luizimcpi

Description

@luizimcpi

The same code is working using version 2.x.x. The combination of @async methods and ContextHolders inside these async methods returns the following error in version 3.x.x of spring boot.
image
Code:
image
Another example (using interceptor):
image
Code:
image
Application Thread Inheritarable configuration
image

Metadata

Metadata

Assignees

Labels

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