Object OutboxRetryPolicyFactory

  • All Implemented Interfaces:

    
    public class OutboxRetryPolicyFactory
    
                        

    Factory 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

    Author:

    Roland Beisel

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final OutboxRetryPolicy create(String name, OutboxProperties.Retry retryProperties) Creates a retry policy instance based on the given name and properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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