Package io.namastack.outbox.retry
Object OutboxRetryPolicyFactory
-
- All Implemented Interfaces:
public class OutboxRetryPolicyFactoryFactory for creating retry policy instances based on configuration.
This factory creates appropriate retry policy implementations based on the policy name and configuration properties.
- Since:
0.1.0
Roland Beisel
-
-
Field Summary
Fields Modifier and Type Field Description public final static OutboxRetryPolicyFactoryINSTANCE
-
Method Summary
Modifier and Type Method Description final OutboxRetryPolicycreate(String name, OutboxProperties.Retry retryProperties)Creates a retry policy instance based on the given name and properties. -
-
Method Detail
-
create
final OutboxRetryPolicy create(String name, OutboxProperties.Retry retryProperties)
Creates a retry policy instance based on the given name and properties.
- Parameters:
name- The name of the retry policy ("fixed", "exponential", "jittered")retryProperties- Configuration properties for retry behavior- Returns:
A configured retry policy instance
-
-
-
-