接口 RabbitRetryTemplateCustomizer
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Callback interface that can be used to customize a
RetryTemplate used as part
of the Rabbit infrastructure.- 从以下版本开始:
- 2.1.0
- 作者:
- Stephane Nicoll
-
嵌套类概要
嵌套类修饰符和类型接口说明static enumDefine the available target for aRetryTemplate. -
方法概要
修饰符和类型方法说明voidcustomize(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate) Callback to customize aRetryTemplateinstance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target.
-
方法详细资料
-
customize
void customize(RabbitRetryTemplateCustomizer.Target target, org.springframework.retry.support.RetryTemplate retryTemplate) Callback to customize aRetryTemplateinstance used in the context of the specifiedRabbitRetryTemplateCustomizer.Target.- 参数:
target- theRabbitRetryTemplateCustomizer.Targetof the retry templateretryTemplate- the template to customize
-