Package org.apache.camel.spi
Interface InterceptEndpointFactory
-
public interface InterceptEndpointFactory
A factory to createEndpoint
which are intercepted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Endpoint
createInterceptSendToEndpoint(CamelContext camelContext, Endpoint endpoint, boolean skip, Processor before, Processor after)
Creates an endpoint when intercepting sending to an endpoint (detour).
-
-
-
Method Detail
-
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 contextendpoint
- the endpoint to interceptskip
- whether to skip sending to the original endpointbefore
- the processor to execute before interceptingafter
- the processor to execute after intercepted- Returns:
- the endpoint with intercepting behaviour
-
-