Interface InterceptEndpointFactory


public interface InterceptEndpointFactory
A factory to create Endpoint which are intercepted.
  • Method Details

    • createInterceptSendToEndpoint

      Endpoint createInterceptSendToEndpoint(CamelContext camelContext, Endpoint endpoint, boolean skip, Processor before, Processor after)
      Creates an endpoint when intercepting sending to an endpoint (detour).
      Parameters:
      camelContext - the camel context
      endpoint - the endpoint to intercept
      skip - whether to skip sending to the original endpoint
      before - the processor to execute before intercepting
      after - the processor to execute after intercepted
      Returns:
      the endpoint with intercepting behaviour