Package org.apache.camel
Interface EndpointConsumerResolver
-
public interface EndpointConsumerResolverAn interface to represent an object that can be resolved as a consumerEndpoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Endpointresolve(CamelContext context)Resolves this object as an endpoint.<T extends Endpoint>
Tresolve(CamelContext context, Class<T> endpointType)Resolves this object as an endpoint.
-
-
-
Method Detail
-
resolve
Endpoint resolve(CamelContext context) throws NoSuchEndpointException
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
-
-