public interface ComponentResolver
DefaultComponentResolver
Modifier and Type | Method and Description |
---|---|
Component |
resolveComponent(String name,
CamelContext context)
Attempts to resolve the component for the given URI
|
Component resolveComponent(String name, CamelContext context) throws Exception
name
- the component name to resolvecontext
- the context to load the component if it can be resolvedException
- is thrown if the the component could not be loadedApache Camel