Interface MessageRetrySettings
public interface MessageRetrySettings
This object contains settings related to message retry mechanism.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageRetrySettings.Builder
builder()
Getting builderThe 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
Getting builder- Returns:
- New Builder instance
-