Package org.apache.camel
Interface EndpointConsumerResolver
public interface EndpointConsumerResolver
An interface to represent an object that can be resolved as a consumer
Endpoint-
Method Summary
Modifier and TypeMethodDescriptionresolve(CamelContext context) Resolves this object as an endpoint.<T extends Endpoint>
Tresolve(CamelContext context, Class<T> endpointType) Resolves this object as an endpoint.
-
Method Details
-
resolve
Resolves this object as an endpoint.- Parameters:
context- the camel context- Returns:
- a built
Endpoint - Throws:
NoSuchEndpointException- is thrown if the endpoint
-
resolve
<T extends Endpoint> T resolve(CamelContext context, Class<T> endpointType) throws NoSuchEndpointException Resolves this object as an endpoint.- Parameters:
context- the camel contextendpointType- the expected type- Returns:
- a built
Endpoint - Throws:
NoSuchEndpointException- is thrown if the endpoint
-