@Around("execution(@com.amazonaws.services.simpleworkflow.flow.annotations.ExponentialRetry * *(..)) && @annotation(retryAnnotation)")
public Object retry(final ProceedingJoinPoint pjp, ExponentialRetry retryAnnotation) throws Throwable {
ExponentialRetryPolicy retryPolicy = createExponentialRetryPolicy(retryAnnotation);
@SuppressWarnings("rawtypes")
RetryCallable retryCallable = new RetryCallable() {
@Override
public Promise call() throws Throwable {
return (Promise) pjp.proceed();
}