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.
Callback interface that can be used to customize retry
settings used by message listeners.
- Since:
- 4.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.boot.retry.RetryPolicySettings retrySettings) Callback to customize theRetryPolicySettingsto create theRetryPolicyused by message listeners.
-
Method Details
-
customize
void customize(org.springframework.boot.retry.RetryPolicySettings retrySettings) Callback to customize theRetryPolicySettingsto create theRetryPolicyused by message listeners.- Parameters:
retrySettings- the settings to customize
-