Package org.apache.camel
Interface EndpointProducerResolver
-
public interface EndpointProducerResolver
An interface to represent an object that can be resolved as a producerEndpoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Endpoint
resolve(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
-
-