org.apache.camel.spi
Interface EndpointStrategy
public interface EndpointStrategy
Endpoint strategy with callback invoked when an Endpoint
is about to be registered to the
endopoint registry in CamelContext
. This callback allows you to interveave
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.
- Version:
- $Revision: 790462 $
registerEndpoint
Endpoint registerEndpoint(String uri,
Endpoint endpoint)
- 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.
Apache CAMEL