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