@Override public StatefulRetryOperationsInterceptor build() { if (this.recoverer != null) { this.interceptor.setRecoverer(this.recoverer); } if (this.retryOperations != null) { this.interceptor.setRetryOperations(this.retryOperations); } else { this.interceptor.setRetryOperations(this.retryTemplate); } if (this.keyGenerator != null) { this.interceptor.setKeyGenerator(this.keyGenerator); } if (this.label != null) { this.interceptor.setLabel(this.label); } this.interceptor.setRollbackClassifier(new BinaryExceptionClassifier(false)); return this.interceptor; }
@Override public StatefulRetryOperationsInterceptor build() { if (this.recoverer != null) { this.interceptor.setRecoverer(this.recoverer); } if (this.retryOperations != null) { this.interceptor.setRetryOperations(this.retryOperations); } else { this.interceptor.setRetryOperations(this.retryTemplate); } if (this.keyGenerator != null) { this.interceptor.setKeyGenerator(this.keyGenerator); } if (this.rollbackClassifier != null) { this.interceptor.setRollbackClassifier(this.rollbackClassifier); } if (this.newMethodArgumentsIdentifier != null) { this.interceptor.setNewItemIdentifier(this.newMethodArgumentsIdentifier); } if (this.label != null) { this.interceptor.setLabel(this.label); } return this.interceptor; }
@Override public StatefulRetryOperationsInterceptor build() { if (this.recoverer != null) { this.interceptor.setRecoverer(this.recoverer); } if (this.retryOperations != null) { this.interceptor.setRetryOperations(this.retryOperations); } else { this.interceptor.setRetryOperations(this.retryTemplate); } if (this.keyGenerator != null) { this.interceptor.setKeyGenerator(this.keyGenerator); } if (this.label != null) { this.interceptor.setLabel(this.label); } this.interceptor.setRollbackClassifier(new BinaryExceptionClassifier(false)); return this.interceptor; }
@Override public StatefulRetryOperationsInterceptor build() { if (this.recoverer != null) { this.interceptor.setRecoverer(this.recoverer); } if (this.retryOperations != null) { this.interceptor.setRetryOperations(this.retryOperations); } else { this.interceptor.setRetryOperations(this.retryTemplate); } if (this.keyGenerator != null) { this.interceptor.setKeyGenerator(this.keyGenerator); } if (this.rollbackClassifier != null) { this.interceptor.setRollbackClassifier(this.rollbackClassifier); } if (this.newMethodArgumentsIdentifier != null) { this.interceptor.setNewItemIdentifier(this.newMethodArgumentsIdentifier); } if (this.label != null) { this.interceptor.setLabel(this.label); } return this.interceptor; }