java.lang.Object
com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.routingkeys.RoutingKeyProvider
All Implemented Interfaces:
Describable<RoutingKeyProvider>, Serializable
Direct Known Subclasses:
FixedRoutingKeyProvider, SepiaRoutingKeyProvider

public abstract class RoutingKeyProvider extends Object implements Describable<RoutingKeyProvider>, Serializable
A routing key provider computes the AMQP routing key that should be used when publishing a given EiffelEvent.
See Also:
  • Constructor Details

    • RoutingKeyProvider

      public RoutingKeyProvider()
  • Method Details

    • getRoutingKey

      public abstract String getRoutingKey(EiffelEvent event)
      Computes the routing key for an event.
      Parameters:
      event - the EiffelEvent whose routing key is wanted
      Returns:
      a string consisting of one or more dot-separated tokens that's usable as a routing key