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 Summary

    Modifier and Type
    Method
    Description
    Gets the route id
    void
    setRouteId(String routeId)
    Sets the route id
  • Method Details

    • getRouteId

      String getRouteId()
      Gets the route id
    • setRouteId

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