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
Constructors Constructor Description SpelExpressionRetryStateGenerator(String keyExpression)SpelExpressionRetryStateGenerator(String keyExpression, String forceRefreshExpression) -
Method Summary
Modifier and Type Method Description org.springframework.retry.RetryStatedetermineRetryState(Message<?> message)voidsetBeanFactory(BeanFactory beanFactory)voidsetClassifier(org.springframework.classify.Classifier<? super Throwable,Boolean> classifier)
-
Constructor Details
-
Method Details
-
setBeanFactory
- Specified by:
setBeanFactoryin interfaceBeanFactoryAware- Throws:
BeansException
-
setClassifier
-
determineRetryState
- Specified by:
determineRetryStatein interfaceRetryStateGenerator
-