Package io.namastack.outbox.retry
Interface OutboxRetryPolicy
-
- All Implemented Interfaces:
public interface OutboxRetryPolicyInterface for retry policies that determine when and how to retry failed outbox record processing.
Implementations define the retry behavior including whether to retry based on the exception and what delay to use between retry attempts.
- Since:
0.1.0
Roland Beisel
-
-
Method Summary
-
-
Method Detail
-
shouldRetry
abstract Boolean shouldRetry(Throwable exception)
Determines whether a retry should be attempted based on the exception.
- Parameters:
exception- The exception that occurred during processing- Returns:
True if a retry should be attempted, false otherwise
-
-
-
-