Class SpelExpressionRetryStateGenerator
java.lang.Object
org.springframework.integration.handler.advice.SpelExpressionRetryStateGenerator
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,RetryStateGenerator
public class SpelExpressionRetryStateGenerator
extends Object
implements RetryStateGenerator, BeanFactoryAware
Creates a DefaultRetryState from a
Message
.- Since:
- 2.2
- Author:
- Gary Russell
-
Constructor Summary
ConstructorDescriptionSpelExpressionRetryStateGenerator
(String keyExpression) SpelExpressionRetryStateGenerator
(String keyExpression, String forceRefreshExpression) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.retry.RetryState
determineRetryState
(Message<?> message) void
setBeanFactory
(BeanFactory beanFactory) void
setClassifier
(org.springframework.classify.Classifier<? super Throwable, Boolean> classifier)
-
Constructor Details
-
SpelExpressionRetryStateGenerator
-
SpelExpressionRetryStateGenerator
-
-
Method Details
-
setBeanFactory
- Specified by:
setBeanFactory
in interfaceBeanFactoryAware
- Throws:
BeansException
-
setClassifier
-
determineRetryState
- Specified by:
determineRetryState
in interfaceRetryStateGenerator
-