I\'ve got a spring integration pipeline and I\'ve got a number of different service activators that I want to enable retry for.
I want to use the same retry policy (
I had to implement Retry mechanism in my project as well and I created my own implementation.
Retry using AOP
This works like a charm.
You can just annotate your methods with the @Retry annotation, provide some config you want and its done.
You go right way: the RequestHandlerRetryAdvice
is thread-safe, so you can use the same beand from several places.