public abstract class Main
extends org.apache.camel.main.MainSupport
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
protected JAXBContext |
createJaxbContext() |
protected org.apache.camel.view.ModelFileGenerator |
createModelFileGenerator() |
protected void |
doStart() |
protected void |
doStop() |
protected org.apache.camel.ProducerTemplate |
findOrCreateCamelTemplate() |
protected Map<String,org.apache.camel.CamelContext> |
getCamelContextMap() |
static Main |
getInstance()
Returns the currently executing main
|
JAXBContext |
getJaxbContext() |
protected Set<Class<?>> |
getJaxbPackages() |
static void |
main(String... args) |
addOption, addRouteBuilder, afterStart, beforeStop, completed, enableHangupSupport, enableTrace, generateDot, getCamelContexts, getCamelTemplate, getDotOutputDir, getDuration, getRouteBuilderClasses, getRouteBuilders, getRouteDefinitions, getRoutesOutputFile, getTimeUnit, isAggregateDot, isTrace, loadRouteBuilders, outputRoutesToFile, parseArguments, postProcessCamelContext, postProcessContext, run, run, setAggregateDot, setDotOutputDir, setDuration, setRouteBuilderClasses, setRouteBuilders, setRoutesOutputFile, setTimeUnit, showOptions, showOptionsHeader, waitUntilCompletedpublic static Main getInstance()
protected org.apache.camel.ProducerTemplate findOrCreateCamelTemplate()
findOrCreateCamelTemplate in class org.apache.camel.main.MainSupportprotected Map<String,org.apache.camel.CamelContext> getCamelContextMap()
getCamelContextMap in class org.apache.camel.main.MainSupportprotected org.apache.camel.view.ModelFileGenerator createModelFileGenerator()
throws JAXBException
createModelFileGenerator in class org.apache.camel.main.MainSupportJAXBExceptionpublic JAXBContext getJaxbContext() throws JAXBException
JAXBExceptionprotected JAXBContext createJaxbContext() throws JAXBException
JAXBExceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.main.MainSupportExceptionApache Camel