public class Main extends org.apache.camel.impl.MainSupport
Modifier and Type | Field and Description |
---|---|
protected static Main |
instance |
Constructor and Description |
---|
Main() |
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, waitUntilCompleted
public Main()
public static Main getInstance()
public AbstractApplicationContext getApplicationContext()
public void setApplicationContext(AbstractApplicationContext applicationContext)
public String getApplicationContextUri()
public void setApplicationContextUri(String applicationContextUri)
public String getFileApplicationContextUri()
public void setFileApplicationContextUri(String fileApplicationContextUri)
public AbstractApplicationContext getParentApplicationContext()
public void setParentApplicationContext(AbstractApplicationContext parentApplicationContext)
public String getParentApplicationContextUri()
public void setParentApplicationContextUri(String parentApplicationContextUri)
protected void doStart() throws Exception
doStart
in class org.apache.camel.main.MainSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.main.MainSupport
Exception
protected org.apache.camel.ProducerTemplate findOrCreateCamelTemplate()
findOrCreateCamelTemplate
in class org.apache.camel.main.MainSupport
protected AbstractApplicationContext createDefaultApplicationContext()
protected Map<String,org.apache.camel.CamelContext> getCamelContextMap()
getCamelContextMap
in class org.apache.camel.main.MainSupport
protected org.apache.camel.view.ModelFileGenerator createModelFileGenerator() throws JAXBException
createModelFileGenerator
in class org.apache.camel.main.MainSupport
JAXBException
Apache Camel