Interface RabbitListenerRetrySettingsCustomizer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RabbitListenerRetrySettingsCustomizer
Callback interface that can be used to customize retry settings used by message listeners.
Since:
4.0.0
See Also:
  • RetryPolicy
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.springframework.boot.retry.RetryPolicySettings retrySettings)
    Callback to customize the RetryPolicySettings to create the RetryPolicy used by message listeners.
  • Method Details

    • customize

      void customize(org.springframework.boot.retry.RetryPolicySettings retrySettings)
      Callback to customize the RetryPolicySettings to create the RetryPolicy used by message listeners.
      Parameters:
      retrySettings - the settings to customize