Interface MessageRetrySettings


public interface MessageRetrySettings
This object contains settings related to message retry mechanism.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Dedicated Builder
  • Method Summary

    Modifier and Type
    Method
    Description
    Getting builder
    The maximum duration, in seconds, during which the system will retry sending a message in the event of a temporary processing failure.
  • Method Details

    • getRetryDuration

      Integer getRetryDuration()
      The maximum duration, in seconds, during which the system will retry sending a message in the event of a temporary processing failure. Time is counted after the first message processing failure. At least one retry is guaranteed. Subsequent retry instances are randomized with exponential backoff. If the next retry timestamp exceeds the configured time, one final retry will be performed on the cut-off time. The valid values for this field are [30 - 3600].
      Returns:
      retryDuration
    • builder

      static MessageRetrySettings.Builder builder()
      Getting builder
      Returns:
      New Builder instance