Comcast/jrugged — pull request #23 by mattinger (2013-11-20 13:48:40+00:00)
Title: Enable method level usage of RetryTemplate via annotations and an associated aspect.

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".