public interface EndpointProducerResolver
Endpoint
Modifier and Type | Method and Description |
---|---|
Endpoint |
resolve(CamelContext context)
Resolves this object as an endpoint.
|
<T extends Endpoint> |
resolve(CamelContext context,
Class<T> endpointType)
Resolves this object as an endpoint.
|
Endpoint resolve(CamelContext context) throws NoSuchEndpointException
context
- the camel contextEndpoint
NoSuchEndpointException
- is thrown if the endpoint<T extends Endpoint> T resolve(CamelContext context, Class<T> endpointType) throws NoSuchEndpointException
context
- the camel contextendpointType
- the expected typeEndpoint
NoSuchEndpointException
- is thrown if the endpointApache Camel