Spring Integration

org.springframework.integration.aggregator
Class MethodInvokingCorrelationStrategy

java.lang.Object
  extended by org.springframework.integration.aggregator.MethodInvokingCorrelationStrategy
All Implemented Interfaces:
CorrelationStrategy

public class MethodInvokingCorrelationStrategy
extends Object
implements CorrelationStrategy

CorrelationStrategy implementation that works as an adapter to another bean.

Author:
Marius Bogoevici, Dave Syer

Constructor Summary
MethodInvokingCorrelationStrategy(Object object, Method method)
           
MethodInvokingCorrelationStrategy(Object object, String methodName)
           
 
Method Summary
 Object getCorrelationKey(Message<?> message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvokingCorrelationStrategy

public MethodInvokingCorrelationStrategy(Object object,
                                         String methodName)

MethodInvokingCorrelationStrategy

public MethodInvokingCorrelationStrategy(Object object,
                                         Method method)
Method Detail

getCorrelationKey

public Object getCorrelationKey(Message<?> message)
Specified by:
getCorrelationKey in interface CorrelationStrategy

Spring Integration

Copyright © 2010. All Rights Reserved.