Class RetryMessageErrorHandlerImp

    • Field Detail

      • RETRY_COUNT_KEY

        protected static final java.lang.String RETRY_COUNT_KEY
        See Also:
        Constant Field Values
      • executor

        protected transient java.util.concurrent.ScheduledExecutorService executor
      • inProgress

        protected transient java.util.List<AdaptrisMessage> inProgress
    • Constructor Detail

      • RetryMessageErrorHandlerImp

        public RetryMessageErrorHandlerImp()
    • Method Detail

      • setRetryLimit

        public void setRetryLimit​(java.lang.Integer i)
        Set the limit on the number of retries that a message may have.
        Parameters:
        i - the number of retries, if less than or equal to 0, then this is considered to be an infinite number of retries.
      • getRetryLimit

        public java.lang.Integer getRetryLimit()
        Get the retry limit.
        Returns:
        the retry limit.
      • setRetryInterval

        public void setRetryInterval​(TimeInterval interval)
        Set the interval between attempts to retry a failed message.
        Parameters:
        interval - the interval; default is 10 minutes if not explicitly configured.
      • failAllMessages

        protected void failAllMessages()
      • failFutureMessages

        protected void failFutureMessages​(boolean failFuture)
      • waitingForRetry

        protected java.util.Collection<java.lang.String> waitingForRetry()
      • failMessage

        protected void failMessage​(java.lang.String s)
      • scheduleNextRun

        protected void scheduleNextRun​(AdaptrisMessage msg)
      • filterStarted

        protected static java.util.Map<java.lang.String,​Workflow> filterStarted​(java.util.Map<java.lang.String,​Workflow> workflows)