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(org.springframework.messaging.Message<?> message)
Find the correlation key for the given message.
|
public HeaderAttributeCorrelationStrategy(java.lang.String attributeName)
public java.lang.Object getCorrelationKey(org.springframework.messaging.Message<?> message)
CorrelationStrategynull, but throw an exception.getCorrelationKey in interface CorrelationStrategymessage - The message.