public class ExpressionEvaluatingCorrelationStrategy extends Object implements CorrelationStrategy, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
CorrelationStrategy implementation that evaluates an expression.| Constructor and Description |
|---|
ExpressionEvaluatingCorrelationStrategy(org.springframework.expression.Expression expression) |
ExpressionEvaluatingCorrelationStrategy(String expressionString) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
getCorrelationKey(Message<?> message)
Find the correlation key for the given message.
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public ExpressionEvaluatingCorrelationStrategy(String expressionString)
public ExpressionEvaluatingCorrelationStrategy(org.springframework.expression.Expression expression)
public Object getCorrelationKey(Message<?> message)
CorrelationStrategynull, but throw an exception.getCorrelationKey in interface CorrelationStrategypublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionCopyright © 2016. All rights reserved.