org.axonframework.eventhandling.amqp
Interface RoutingKeyResolver

All Known Implementing Classes:
PackageRoutingKeyResolver

public interface RoutingKeyResolver

Interface toward a mechanism that provides the AMQP Routing Key for a given EventMessage. AMQP Message Brokers use the routing key to decide which Queues will receive a copy of eah message, depending on the type of Exchange used.

Since:
2.0
Author:
Allard Buijze

Method Summary
 String resolveRoutingKey(EventMessage eventMessage)
          Returns the Routing Key to use when sending the given eventMessage to the Message Broker.
 

Method Detail

resolveRoutingKey

String resolveRoutingKey(EventMessage eventMessage)
Returns the Routing Key to use when sending the given eventMessage to the Message Broker.

Parameters:
eventMessage - The EventMessage to resolve the routing key for
Returns:
the routing key for the event message


Copyright © 2010-2016. All Rights Reserved.