public interface InternalProcessor extends AsyncProcessor
Processor
that Camel routing engine used during routing for cross cutting functionality such as:
UnitOfWork
RoutePolicy
Transformer
Modifier and Type | Method and Description |
---|---|
void |
addAdvice(CamelInternalProcessorAdvice<?> advice)
Adds an
CamelInternalProcessorAdvice advice to the list of advices to execute by this internal processor. |
void |
addManagementInterceptStrategy(ManagementInterceptStrategy.InstrumentationProcessor processor) |
void |
addRouteInflightRepositoryAdvice(InflightRepository inflightRepository,
String routeId) |
void |
addRouteLifecycleAdvice() |
void |
addRoutePolicyAdvice(List<RoutePolicy> routePolicyList) |
<T> T |
getAdvice(Class<T> type)
Gets the advice with the given type.
|
void |
setRouteOnAdvices(Route route) |
process, processAsync
void addAdvice(CamelInternalProcessorAdvice<?> advice)
CamelInternalProcessorAdvice
advice to the list of advices to execute by this internal processor.advice
- the advice to add<T> T getAdvice(Class<T> type)
type
- the type of the advicevoid addRoutePolicyAdvice(List<RoutePolicy> routePolicyList)
void addRouteInflightRepositoryAdvice(InflightRepository inflightRepository, String routeId)
void addRouteLifecycleAdvice()
void addManagementInterceptStrategy(ManagementInterceptStrategy.InstrumentationProcessor processor)
void setRouteOnAdvices(Route route)
Apache Camel