OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Left a TODO.
This commit is contained in:
@@ -406,6 +406,7 @@ public class RetryTemplate implements RetryOperations {
|
||||
* otherwise
|
||||
*/
|
||||
protected boolean shouldRethrow(RetryPolicy retryPolicy, RetryContext context, RetryState state) {
|
||||
// TODO: allow stateless behaviour to take over for certain exception types
|
||||
return state != null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user