spring-projects / spring-retry

2.19k stars 519 forks source link

Support AspectJ Load-Time Weaving #111

Open KJoyner opened 6 years ago

KJoyner commented 6 years ago

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.

sandeepkshirsagar04 commented 6 years ago

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

michaelwiles commented 5 years ago

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.