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