Closed
Description
hello:
Spring-retry set to try again 6 times the results of retry 36 times;
eg:
@Retryable(include = {Exception.class, SdkClientException.class,ServiceException.class, UnknownHostException.class},
exclude = WrongParameterException.class,
maxAttempts = 6,
backoff = @Backoff(delay = 1000l,multiplier = 1.2))
public <T> T callApi(Map<String, String> params, String apiPath, Class<T> type) throws WrongParameterException {
//do something
}
I am written according to your example, do not know why this is the case. Thank you
Activity
liusy456 commentedon Aug 2, 2017
I use the spring version is 4.3.2, retry version is 1.2.0
liusy456 commentedon Aug 3, 2017
I found that I was added shiro configuration, only the emergence of this situation, it is normal to get rid of
liusy456 commentedon Aug 3, 2017
Solved, because the second spring agent problem, sorry