public interface EndpointStrategy
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.Modifier and Type | Method and Description |
---|---|
Endpoint |
registerEndpoint(String uri,
Endpoint endpoint)
Register the endpoint.
|
Endpoint registerEndpoint(String uri, Endpoint endpoint)
uri
- uri of endpointendpoint
- the current endpoint to registerApache Camel