public class MethodInvokingCorrelationStrategy extends java.lang.Object implements CorrelationStrategy
CorrelationStrategy implementation that works as an adapter to another bean.| Constructor and Description |
|---|
MethodInvokingCorrelationStrategy(java.lang.Object object,
java.lang.reflect.Method method) |
MethodInvokingCorrelationStrategy(java.lang.Object object,
java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCorrelationKey(org.springframework.messaging.Message<?> message)
Find the correlation key for the given message.
|
public MethodInvokingCorrelationStrategy(java.lang.Object object,
java.lang.String methodName)
public MethodInvokingCorrelationStrategy(java.lang.Object object,
java.lang.reflect.Method method)
public java.lang.Object getCorrelationKey(org.springframework.messaging.Message<?> message)
CorrelationStrategynull, but throw an exception.getCorrelationKey in interface CorrelationStrategy