Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@async with aspect mode not working [SPR-16048] #20597

Closed
spring-projects-issues opened this issue Oct 5, 2017 · 3 comments
Closed

@async with aspect mode not working [SPR-16048] #20597

spring-projects-issues opened this issue Oct 5, 2017 · 3 comments
Assignees
Labels
in: core

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Oct 5, 2017

pankaj pandey opened SPR-16048 and commented

Hi,
I am using spring boot starter 1.5.4.release version and found an issue with async annotation.

When I use @enableasync in aspect mode, @async annotation works for internal method calls but not for method defined in different bean.

I am using compile time weaving with aspectjrt and aspectjweaver and spring aspects.

If I disable aspect mode in enableasync annotation external method call works asynchronously however internal calls doesn't, i understand the reason behind why internal call doesn't works asynchronously in proxy mode. However I expected that in aspect mode internal as well as external call should work asynchronously with async annotation.

Could you help me in resolving this issue.


Affects: 4.3.6

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Oct 23, 2017

pankaj pandey commented

Hi,
Please provide some insights over this

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Oct 23, 2017

Stéphane Nicoll commented

pankaj pandey thanks for the ping and sorry for the late reply. I'd prefer to discuss based on an actual sample as I am not sure I fully understand the problem you are reporting.

Can you please share a sample that I can run that reprocues the problem?

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jan 23, 2018

Stéphane Nicoll commented

Closing due to lack of feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core
Projects
None yet
Development

No branches or pull requests

2 participants