Interface RouteAware


  • public interface RouteAware
    An interface to represent an object which wishes to be injected with a Route such as Consumer which is the consumer for a route.
    • Method Detail

      • setRoute

        void setRoute​(Route route)
        Injects the Route
        Parameters:
        route - the route
      • getRoute

        Route getRoute()
        Gets the Route
        Returns:
        the route, or null if no route has been set.