public interface RoutingStrategy
Modifier and Type | Method and Description |
---|---|
String |
getRoutingKey(CommandMessage<?> command)
Generates a routing key for the given
command . |
String getRoutingKey(@Nonnull 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–2024. All rights reserved.