@Vetoed public final class RoutesXml extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.camel.model.RoutesDefinition |
loadRoutesFromClasspath(org.apache.camel.model.ModelCamelContext camelContext,
String uri)
Loads the routes from the classpath
|
static org.apache.camel.model.RoutesDefinition |
loadRoutesFromFile(org.apache.camel.model.ModelCamelContext camelContext,
File file)
Loads the routes from a
File |
static org.apache.camel.model.RoutesDefinition |
loadRoutesFromFile(org.apache.camel.model.ModelCamelContext camelContext,
String fileName)
Loads the routes from a
File |
static org.apache.camel.model.RoutesDefinition |
loadRoutesFromURL(org.apache.camel.model.ModelCamelContext camelContext,
String url)
Loads the routes from a
URL |
static org.apache.camel.model.RoutesDefinition |
loadRoutesFromURL(org.apache.camel.model.ModelCamelContext camelContext,
URL url)
Loads the routes from a
URL |
static org.apache.camel.model.RoutesDefinition |
loadRoutesFromXML(org.apache.camel.model.ModelCamelContext camelContext,
String xml)
Loads the routes from the given XML content
|
public static org.apache.camel.model.RoutesDefinition loadRoutesFromXML(org.apache.camel.model.ModelCamelContext camelContext, String xml) throws JAXBException
JAXBException
public static org.apache.camel.model.RoutesDefinition loadRoutesFromClasspath(org.apache.camel.model.ModelCamelContext camelContext, String uri) throws JAXBException
JAXBException
public static org.apache.camel.model.RoutesDefinition loadRoutesFromURL(org.apache.camel.model.ModelCamelContext camelContext, URL url) throws JAXBException, IOException
URL
JAXBException
IOException
public static org.apache.camel.model.RoutesDefinition loadRoutesFromURL(org.apache.camel.model.ModelCamelContext camelContext, String url) throws IOException, JAXBException
URL
IOException
JAXBException
public static org.apache.camel.model.RoutesDefinition loadRoutesFromFile(org.apache.camel.model.ModelCamelContext camelContext, File file) throws JAXBException, FileNotFoundException
File
JAXBException
FileNotFoundException
public static org.apache.camel.model.RoutesDefinition loadRoutesFromFile(org.apache.camel.model.ModelCamelContext camelContext, String fileName) throws JAXBException, FileNotFoundException
File
JAXBException
FileNotFoundException
Apache Camel