public class DefaultComponentResolver extends Object implements ComponentResolver
ComponentResolver
which tries to find
components by using the URI scheme prefix and searching for a file of the URI
scheme name in the META-INF/services/org/apache/camel/component/
directory on the classpath.Modifier and Type | Field and Description |
---|---|
static String |
RESOURCE_PATH |
Constructor and Description |
---|
DefaultComponentResolver() |
Modifier and Type | Method and Description |
---|---|
protected org.slf4j.Logger |
getLog() |
Component |
resolveComponent(String name,
CamelContext context)
Attempts to resolve the component for the given URI
|
public static final String RESOURCE_PATH
public Component resolveComponent(String name, CamelContext context)
ComponentResolver
resolveComponent
in interface ComponentResolver
name
- the component name to resolvecontext
- the context to load the component if it can be resolvedprotected org.slf4j.Logger getLog()
Apache Camel