public class SpelExpressionRetryStateGenerator extends Object implements RetryStateGenerator, BeanFactoryAware
Message
.Constructor and Description |
---|
SpelExpressionRetryStateGenerator(String keyExpression) |
SpelExpressionRetryStateGenerator(String keyExpression,
String forceRefreshExpression) |
Modifier and Type | Method and Description |
---|---|
org.springframework.retry.RetryState |
determineRetryState(Message<?> message) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setClassifier(org.springframework.classify.Classifier<? super Throwable,Boolean> classifier) |
public SpelExpressionRetryStateGenerator(String keyExpression)
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
public void setClassifier(org.springframework.classify.Classifier<? super Throwable,Boolean> classifier)
public org.springframework.retry.RetryState determineRetryState(Message<?> message)
determineRetryState
in interface RetryStateGenerator