public interface RoutingStrategy
Modifier and Type | Method and Description |
---|---|
String |
getRoutingKey(CommandMessage<?> command)
Generates a routing key for the given
command . |
String getRoutingKey(CommandMessage<?> command)
command
. Commands that should be handled by the same segment,
should result in the same routing key.command
- the command to create a routing key forCopyright © 2010–2017. All rights reserved.