public class MethodInvokingCorrelationStrategy extends Object implements CorrelationStrategy, BeanFactoryAware, Lifecycle
CorrelationStrategy implementation that works as an adapter to another bean.| Constructor and Description |
|---|
MethodInvokingCorrelationStrategy(Object object,
Method method) |
MethodInvokingCorrelationStrategy(Object object,
String methodName) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCorrelationKey(Message<?> message)
Find the correlation key for the given message.
|
boolean |
isRunning() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
start() |
void |
stop() |
public MethodInvokingCorrelationStrategy(Object object, String methodName)
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansExceptionpublic Object getCorrelationKey(Message<?> message)
CorrelationStrategynull, but throw an exception.getCorrelationKey in interface CorrelationStrategymessage - The message.