This change contains an @RetryTemplate annotation which can be placed on a method. When the appropriate aspect is registered with the spring context, the method call will be executed within a call to a preconfigured RetryTemplate.
@RetryTemplate(name="retryTemplate")
public void foo() { ... }
And somewhere in your spring context, you need to define the "retryTemplate" bean, as well as registering the "RetryTemplateAspect".
This change contains an @RetryTemplate annotation which can be placed on a method. When the appropriate aspect is registered with the spring context, the method call will be executed within a call to a preconfigured RetryTemplate.
@RetryTemplate(name="retryTemplate") public void foo() { ... }
And somewhere in your spring context, you need to define the "retryTemplate" bean, as well as registering the "RetryTemplateAspect".