spring-retry icon indicating copy to clipboard operation
spring-retry copied to clipboard

Support AspectJ Load-Time Weaving

Open KJoyner opened this issue 6 years ago • 2 comments

A number of Spring projects support AdviceMode.ASPECTJ (e.g. @EnableCaching, @EnableTransactionManagement) to enable support for AspectJ load-time-weaving. Would it make since for spring-retry to also support this feature.

KJoyner avatar Apr 23 '18 20:04 KJoyner

I am looking for AdviceMode.ASPECTJ for @Retryable as well.

sandeepkshirsagar04 avatar Jun 07 '18 14:06 sandeepkshirsagar04

With compile time weaving I can have a Tranasctional annotation that is honoured on internal method calls (and thus private methods).

This is what adding support for aspectj mode adds. Currently I can only retry methods that are called from an external location.

michaelwiles avatar Dec 14 '18 11:12 michaelwiles