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