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
The text was updated successfully, but these errors were encountered:
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?
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
The text was updated successfully, but these errors were encountered: