Is there any way to get how many retries the @Retry did before the method succeeded?
For example you have maxRetries = 3, then it was succeeded on 2nd retry, I want to get that value and save it in my database. Like this:
if(retry == success) {
saveToDatabase(retryNum);
}