Package org.apache.camel.spi
Interface EndpointStrategy
public interface EndpointStrategy
Endpoint strategy with callback invoked when an
Endpoint is about to be registered to the
endpoint registry in CamelContext. This callback allows you to intervene and return a mixed
in Endpoint.
The InterceptSendToEndpointDefinition uses this to allow it to proxy endpoints so it can intercept sending to the
given endpoint.-
Method Summary
Modifier and TypeMethodDescriptionregisterEndpoint(String uri, Endpoint endpoint) Register the endpoint.
-
Method Details
-
registerEndpoint
Register the endpoint.- Parameters:
uri- uri of endpointendpoint- the current endpoint to register- Returns:
- the real endpoint to register, for instance a wrapped/enhanced endpoint.
-