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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDefine the available target for aRetryTemplate. -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate) Callback to customize aRetryTemplateinstance 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 aRetryTemplateinstance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target.- Parameters:
target- theRabbitRetryTemplateCustomizer.Targetof the retry templateretryTemplate- the template to customize
-