public interface XMLRoutesDefinitionLoader
Modifier and Type | Field and Description |
---|---|
static String |
FACTORY
Service factory key.
|
Modifier and Type | Method and Description |
---|---|
<T extends NamedNode> |
createModelFromXml(CamelContext context,
String xml,
Class<T> type)
Creates a model of the given type from the xml
|
Object |
loadRestsDefinition(CamelContext context,
InputStream inputStream)
Loads from XML into rests.
|
Object |
loadRoutesDefinition(CamelContext context,
InputStream inputStream)
Loads from XML into routes.
|
static final String FACTORY
Object loadRoutesDefinition(CamelContext context, InputStream inputStream) throws Exception
Exception
Object loadRestsDefinition(CamelContext context, InputStream inputStream) throws Exception
Exception
Apache Camel