Skip to content

Async annotation should allow for non-blocking execution with CompletableFuture [SPR-15401] #19964

Closed
@spring-projects-issues

Description

@spring-projects-issues

Nikolay Georgiev opened SPR-15401 and commented

When calling Async methods that have result composed of CompletableFutures Spring blocks the thread execution by calling get() method internally. This breaks the non-blocking nature of CompletableFuture and makes the use of CompletableFuture composition unusable. More details in the StackOverflow question provided.


Reference URL: https://stackoverflow.com/questions/43095014/nested-async-calls-in-spring

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions