public interface ComponentResolver
DefaultComponentResolver
Modifier and Type | Method and Description |
---|---|
Component |
resolveComponent(java.lang.String name,
CamelContext context)
Attempts to resolve the component for the given URI
|
Component resolveComponent(java.lang.String name, CamelContext context) throws java.lang.Exception
name
- the component name to resolvecontext
- the context to load the component if it can be resolvedjava.lang.Exception
- is thrown if the the component could not be loadedCopyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.