Package org.apache.camel.spi
Interface InternalProcessor
- All Superinterfaces:
AsyncProcessor
,Processor
Internal
Processor
that Camel routing engine used during routing for cross cutting functionality such as:
- Execute
UnitOfWork
- Keeping track which route currently is being routed
- Execute
RoutePolicy
- Gather JMX performance statics
- Tracing
- Debugging
- Message History
- Stream Caching
Transformer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdvice
(CamelInternalProcessorAdvice<?> advice) Adds anCamelInternalProcessorAdvice
advice to the list of advices to execute by this internal processor.void
void
addRouteInflightRepositoryAdvice
(InflightRepository inflightRepository, String routeId) void
void
addRoutePolicyAdvice
(List<RoutePolicy> routePolicyList) <T> T
Gets the advice with the given type.void
setRouteOnAdvices
(Route route) Methods inherited from interface org.apache.camel.AsyncProcessor
process, processAsync
-
Method Details
-
addAdvice
Adds anCamelInternalProcessorAdvice
advice to the list of advices to execute by this internal processor.- Parameters:
advice
- the advice to add
-
getAdvice
Gets the advice with the given type.- Parameters:
type
- the type of the advice- Returns:
- the advice if exists, or null if no advices has been added with the given type.
-
addRoutePolicyAdvice
-
addRouteInflightRepositoryAdvice
-
addRouteLifecycleAdvice
void addRouteLifecycleAdvice() -
addManagementInterceptStrategy
-
setRouteOnAdvices
-