Interface RabbitRetryTemplateCustomizer
- 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 a
RetryTemplate
used as part
of the Rabbit infrastructure.- Since:
- 2.1.0
- Author:
- Stephane Nicoll
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Define the available target for aRetryTemplate
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate) Callback to customize aRetryTemplate
instance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target
.
-
Method Details
-
customize
void customize(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate) Callback to customize aRetryTemplate
instance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target
.- Parameters:
target
- theRabbitRetryTemplateCustomizer.Target
of the retry templateretryTemplate
- the template to customize
-