Interface DeadLetterConfig

All Superinterfaces:
Prototype.Api

public sealed interface DeadLetterConfig extends Prototype.Api
Dead-letter delivery configuration.
See Also:
  • Method Details

    • builder

      static DeadLetterConfig.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static DeadLetterConfig.Builder builder(DeadLetterConfig instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static DeadLetterConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static DeadLetterConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • channel

      String channel()
      Logical channel required for dead-letter delivery.
      Returns:
      dead-letter channel