Class FixedRoutingKeyProvider

    • Constructor Detail

      • FixedRoutingKeyProvider

        @DataBoundConstructor
        public FixedRoutingKeyProvider​(@NonNull
                                       String fixedRoutingKey)
    • Method Detail

      • getRoutingKey

        @NonNull
        public String getRoutingKey​(EiffelEvent event)
        Computes the routing key for an event.
        Specified by:
        getRoutingKey in class RoutingKeyProvider
        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
      • getFixedRoutingKey

        @NonNull
        public String getFixedRoutingKey()
      • setFixedRoutingKey

        @DataBoundSetter
        public void setFixedRoutingKey​(@NonNull
                                       String fixedRoutingKey)