org.springframework.integration.aggregator
Class HeaderAttributeCorrelationStrategy

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

public class HeaderAttributeCorrelationStrategy
extends java.lang.Object
implements CorrelationStrategy

Default implementation of CorrelationStrategy. Uses a header attribute to determine the correlation key value.


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

Constructor Detail

HeaderAttributeCorrelationStrategy

public HeaderAttributeCorrelationStrategy(java.lang.String attributeName)
Method Detail

getCorrelationKey

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