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