Class 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.
    • Constructor Detail

      • JaxbXmlRoutesDefinitionLoader

        public JaxbXmlRoutesDefinitionLoader()
        Deprecated.
    • Method Detail

      • loadRoutesDefinition

        public Object loadRoutesDefinition​(org.apache.camel.CamelContext context,
                                           InputStream inputStream)
                                    throws Exception
        Deprecated.
        Specified by:
        loadRoutesDefinition in interface org.apache.camel.spi.XMLRoutesDefinitionLoader
        Throws:
        Exception
      • loadRouteTemplatesDefinition

        public Object loadRouteTemplatesDefinition​(org.apache.camel.CamelContext context,
                                                   InputStream inputStream)
                                            throws Exception
        Deprecated.
        Specified by:
        loadRouteTemplatesDefinition in interface org.apache.camel.spi.XMLRoutesDefinitionLoader
        Throws:
        Exception
      • loadRestsDefinition

        public Object loadRestsDefinition​(org.apache.camel.CamelContext context,
                                          InputStream inputStream)
                                   throws Exception
        Deprecated.
        Specified by:
        loadRestsDefinition in interface org.apache.camel.spi.XMLRoutesDefinitionLoader
        Throws:
        Exception