public interface ModelToXMLDumper
Modifier and Type | Field and Description |
---|---|
static String |
FACTORY
Service factory key.
|
Modifier and Type | Method and Description |
---|---|
String |
dumpModelAsXml(CamelContext context,
NamedNode definition)
Dumps the definition as XML
|
String |
dumpModelAsXml(CamelContext context,
NamedNode definition,
boolean resolvePlaceholders,
boolean resolveDelegateEndpoints)
Dumps the definition as XML
|
static final String FACTORY
String dumpModelAsXml(CamelContext context, NamedNode definition) throws Exception
String dumpModelAsXml(CamelContext context, NamedNode definition, boolean resolvePlaceholders, boolean resolveDelegateEndpoints) throws Exception
context
- the CamelContextdefinition
- the definition, such as a NamedNode
resolvePlaceholders
- whether to resolve property placeholders in the dumped XMLresolveDelegateEndpoints
- whether to resolve delegate endpoints in the dumped XML (limited to endpoints
used in uri attributes in the model)Exception
- is throw if error marshalling to XMLApache Camel