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(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(Message<?> message)
CorrelationStrategy
null
, but throw an exception.getCorrelationKey
in interface CorrelationStrategy