Package org.apache.camel.dsl.xml.jaxb
Class JaxbXmlRoutesDefinitionLoader
java.lang.Object
org.apache.camel.dsl.xml.jaxb.JaxbXmlRoutesDefinitionLoader
- All Implemented Interfaces:
org.apache.camel.spi.XMLRoutesDefinitionLoader
@JdkService("xmlroutes-loader")
@Deprecated
public class JaxbXmlRoutesDefinitionLoader
extends Object
implements org.apache.camel.spi.XMLRoutesDefinitionLoader
Deprecated.
JAXB based
XMLRoutesDefinitionLoader. This is the default loader used historically by Camel. The camel-xml-io
parser is a light-weight alternative.-
Field Summary
Fields inherited from interface org.apache.camel.spi.XMLRoutesDefinitionLoader
FACTORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadRestsDefinition(org.apache.camel.CamelContext context, InputStream inputStream) Deprecated.loadRoutesDefinition(org.apache.camel.CamelContext context, InputStream inputStream) Deprecated.loadRouteTemplatesDefinition(org.apache.camel.CamelContext context, InputStream inputStream) Deprecated.toString()Deprecated.
-
Constructor Details
-
JaxbXmlRoutesDefinitionLoader
public JaxbXmlRoutesDefinitionLoader()Deprecated.
-
-
Method Details
-
loadRoutesDefinition
public Object loadRoutesDefinition(org.apache.camel.CamelContext context, InputStream inputStream) throws Exception Deprecated.- Specified by:
loadRoutesDefinitionin interfaceorg.apache.camel.spi.XMLRoutesDefinitionLoader- Throws:
Exception
-
loadRouteTemplatesDefinition
public Object loadRouteTemplatesDefinition(org.apache.camel.CamelContext context, InputStream inputStream) throws Exception Deprecated.- Specified by:
loadRouteTemplatesDefinitionin interfaceorg.apache.camel.spi.XMLRoutesDefinitionLoader- Throws:
Exception
-
loadRestsDefinition
public Object loadRestsDefinition(org.apache.camel.CamelContext context, InputStream inputStream) throws Exception Deprecated.- Specified by:
loadRestsDefinitionin interfaceorg.apache.camel.spi.XMLRoutesDefinitionLoader- Throws:
Exception
-
toString
Deprecated.
-