Ask Your Question
2

What is the meaning behind the designer's statement that while most other AOP supports circle reference, the spring @Async does not?

asked 2022-03-13 11:00:00 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-01-12 03:00:00 +0000

david gravatar image

The designer's statement means that, in most other Asynchronous Operation Processing (AOP) frameworks, circular references between methods are supported. However, with Spring's @Async, circular references are not supported. This means that if a method A calls method B and method B calls method A, and both methods are annotated with @Async, it will result in an error in Spring's @Async but not in other AOP frameworks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-03-13 11:00:00 +0000

Seen: 10 times

Last updated: Jan 12 '23