@FunctionalInterface public interface MessageKeyGenerator
Modifier and Type | Method and Description |
---|---|
Object |
getKey(Message message)
Generate a unique key for the message that is repeatable on redelivery.
|
Object getKey(Message message)
message
- the message to generate a key for