Enum Class FixedDelayStrategy

java.lang.Object
java.lang.Enum<FixedDelayStrategy>
org.springframework.kafka.retrytopic.FixedDelayStrategy
All Implemented Interfaces:
Serializable, Comparable<FixedDelayStrategy>, Constable

@Deprecated public enum FixedDelayStrategy extends Enum<FixedDelayStrategy>
Deprecated.
Defines the topic strategy to handle fixed delays.
Since:
2.7
  • Enum Constant Details

    • SINGLE_TOPIC

      public static final FixedDelayStrategy SINGLE_TOPIC
      Deprecated.
      Uses a single topic to achieve non-blocking retry.
    • MULTIPLE_TOPICS

      public static final FixedDelayStrategy MULTIPLE_TOPICS
      Deprecated.
      Uses one separate topic per retry attempt.
  • Method Details

    • values

      public static FixedDelayStrategy[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FixedDelayStrategy valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null