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.
@FunctionalInterface public interface RabbitRetryTemplateCustomizer
Callback interface that can be used to customize aRetryTemplate
used as part of the Rabbit infrastructure.- Since:
- 2.1.0
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RabbitRetryTemplateCustomizer.Target
Define the available target for aRetryTemplate
.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate)
Callback to customize aRetryTemplate
instance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target
.
Method Detail
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