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 aRetryTemplateused as part of the Rabbit infrastructure.- Since:
- 2.1.0
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRabbitRetryTemplateCustomizer.TargetDefine the available target for aRetryTemplate.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomize(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate)Callback to customize aRetryTemplateinstance 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 aRetryTemplateinstance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target.- Parameters:
target- theRabbitRetryTemplateCustomizer.Targetof the retry templateretryTemplate- the template to customize