Interface InternalProcessor

  • All Superinterfaces:
    AsyncProcessor, Processor

    public interface InternalProcessor
    extends AsyncProcessor
    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
    ... and more.
    • Method Detail

      • getAdvice

        <T> T getAdvice​(Class<T> type)
        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

        void addRoutePolicyAdvice​(List<RoutePolicy> routePolicyList)
      • addRouteInflightRepositoryAdvice

        void addRouteInflightRepositoryAdvice​(InflightRepository inflightRepository,
                                              String routeId)
      • addRouteLifecycleAdvice

        void addRouteLifecycleAdvice()
      • setRouteOnAdvices

        void setRouteOnAdvices​(Route route)