Warn: touching this method drops default retryOn(Exception.class) and you
should configure whole classifier from scratch.
public RetryTemplateBuilder notRetryOn(Class<? extends Throwable> throwable) {
classifierBuilder().notRetryOn(throwable);
return this;
}
I wonder about this description. Here mentioned that i should configure classifier from scratch. Looks like it does not work as expected cause every exception not specified in this method has retried.