Interface RouteIdAware

  • All Known Subinterfaces:
    ExchangeFactory, ProcessorExchangeFactory

    public interface RouteIdAware
    To allow objects to be injected with the route id

    This allows access to the route id of the processor at runtime, to know which route its associated with.

    • Method Detail

      • getRouteId

        String getRouteId()
        Gets the route id
      • setRouteId

        void setRouteId​(String routeId)
        Sets the route id
        Parameters:
        routeId - the route id