public class PackageRoutingKeyResolver extends Object implements RoutingKeyResolver
Constructor and Description |
---|
PackageRoutingKeyResolver() |
Modifier and Type | Method and Description |
---|---|
String |
resolveRoutingKey(EventMessage<?> event)
Returns the Routing Key to use when sending the given
eventMessage to the Message Broker. |
public String resolveRoutingKey(EventMessage<?> event)
RoutingKeyResolver
eventMessage
to the Message Broker.resolveRoutingKey
in interface RoutingKeyResolver
event
- The EventMessage to resolve the routing key forCopyright © 2010–2017. All rights reserved.