Package org.apache.camel.spi
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 TypeMethodDescriptionGets the route idvoid
setRouteId
(String routeId) Sets the route id
-
Method Details
-
getRouteId
String getRouteId()Gets the route id -
setRouteId
Sets the route id- Parameters:
routeId
- the route id
-