0

We are using Spring AOP pointCutAdvice with the AnnotationMatchingPointcut.

sometimes, the actual method is called before the PointCutAdvice is called. And later again the same Actual method is called (totally twice).

Are there any chances of happening like this.

Note: Don't have a test case to prove currently and i cannot paste the original code for some obvious reasons.

Bond - Java Bond
  • 3,972
  • 6
  • 36
  • 59
murthy
  • 202
  • 5
  • 13
  • It's shot in dark at best with the minimal information shared. Although the complete original code isn't expected a simple [SSCCE](http://sscce.org/) would help. – Bond - Java Bond May 29 '17 at 17:00
  • @Bond-JavaBond, My issue is resolved as the problem is not due to the PointCutAdvice, instead it is due to the Singleton bean which is mixing when the same process runs in 2 different threads, after making the bean as Prototype, the issue is resovled – murthy May 31 '17 at 09:10

0 Answers0