Package org.apache.camel.spi
Interface InterceptEndpointFactory
public interface InterceptEndpointFactory
A factory to create
Endpoint
which are intercepted.-
Method Summary
Modifier and TypeMethodDescriptioncreateInterceptSendToEndpoint
(CamelContext camelContext, Endpoint endpoint, boolean skip, Processor before, Processor after) Creates an endpoint when intercepting sending to an endpoint (detour).
-
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 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
-