Spring Integration

org.springframework.integration.aggregator
Class HeaderAttributeCorrelationStrategy

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

public class HeaderAttributeCorrelationStrategy
extends Object
implements CorrelationStrategy

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

Author:
Marius Bogoevici

Constructor Summary
HeaderAttributeCorrelationStrategy(String attributeName)
           
 
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

HeaderAttributeCorrelationStrategy

public HeaderAttributeCorrelationStrategy(String attributeName)
Method Detail

getCorrelationKey

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

Spring Integration

Copyright © 2010. All Rights Reserved.