接口 RabbitRetryTemplateCustomizer
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface RabbitRetryTemplateCustomizer
Callback interface that can be used to customize aRetryTemplate
used as part of the Rabbit infrastructure.- 从以下版本开始:
- 2.1.0
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static class
RabbitRetryTemplateCustomizer.Target
Define the available target for aRetryTemplate
.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
customize(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate)
Callback to customize aRetryTemplate
instance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target
.
方法详细资料
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
.- 参数:
target
- theRabbitRetryTemplateCustomizer.Target
of the retry templateretryTemplate
- the template to customize