public class ExpressionEvaluatingCorrelationStrategy extends Object implements CorrelationStrategy, BeanFactoryAware
CorrelationStrategy implementation that evaluates an expression.| Constructor and Description |
|---|
ExpressionEvaluatingCorrelationStrategy(Expression expression) |
ExpressionEvaluatingCorrelationStrategy(String expressionString) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCorrelationKey(Message<?> message)
Find the correlation key for the given message.
|
void |
setBeanFactory(BeanFactory beanFactory) |
public ExpressionEvaluatingCorrelationStrategy(String expressionString)
public ExpressionEvaluatingCorrelationStrategy(Expression expression)
public Object getCorrelationKey(Message<?> message)
CorrelationStrategynull, but throw an exception.getCorrelationKey in interface CorrelationStrategymessage - The message.public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansException