Class EventuallyGiveUpBatchRewindStrategy

  • All Implemented Interfaces:
    BatchRewindStrategy

    public class EventuallyGiveUpBatchRewindStrategy
    extends java.lang.Object
    implements BatchRewindStrategy

    Strategy for handling a rewindableException that will eventually delegate the exception to the ExceptionHandler after a specified number of attempts have been made.

    • Constructor Detail

      • EventuallyGiveUpBatchRewindStrategy

        public EventuallyGiveUpBatchRewindStrategy​(long maxAttempts)
        Parameters:
        maxAttempts - numbers of Rewindable exceptions that can be thrown until exception is delegated