public class HeaderAttributeCorrelationStrategy extends Object implements CorrelationStrategy
CorrelationStrategy. Uses a header
attribute to determine the correlation key value.| Constructor and Description |
|---|
HeaderAttributeCorrelationStrategy(String attributeName) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCorrelationKey(Message<?> message)
Find the correlation key for the given message.
|
public HeaderAttributeCorrelationStrategy(String attributeName)
public Object getCorrelationKey(Message<?> message)
CorrelationStrategynull, but throw an exception.getCorrelationKey in interface CorrelationStrategymessage - The message.