Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Strange Behaviour when using Before and Around Advice together [SPR-12568] #17169
I created Configuration based AnnotationConfigApplicationContext .
Using Aspectj annotation I tried to use Before ,After and Around advice for a particular Spring bean.
The above annotations were expected to be applied to spring CalculationService bean. But instead of executing the bean method and applying the advices it only applied After advice and part of Around advice and no service method functionality was executed.
Source code is attached for the reference.
Srideep Prasad commented
This is not a bug from what I can see.
And it should work just fine!