@Vetoed
public class Main
extends org.apache.camel.main.MainCommandLineSupport
DEFAULT_EXIT_CODE, exitCode, shutdownStrategy, UNINITIALIZED_EXIT_CODEcamelContext, camelTemplate, DEFAULT_PROPERTY_PLACEHOLDER_LOCATION, defaultPropertyPlaceholderLocation, INITIAL_PROPERTIES_LOCATION, initialProperties, listeners, mainConfigurationProperties, OVERRIDE_PROPERTIES_LOCATION, overrideProperties, PROPERTY_PLACEHOLDER_LOCATION, propertyPlaceholderLocations, routesCollector, wildcardProperties| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.CamelContext |
createCamelContext() |
protected void |
doStart() |
protected void |
doStop() |
protected org.apache.camel.ProducerTemplate |
findOrCreateCamelTemplate() |
static Main |
getInstance()
Returns the currently executing instance.
|
protected void |
initCamelContext() |
static void |
main(String... args) |
addOption, parseArguments, run, showOptions, showOptionsHeaderafterStart, afterStop, beforeStart, beforeStop, completed, configureLifecycle, enableTrace, getCompleteTask, getDuration, getDurationHitExitCode, getDurationIdle, getDurationMaxMessages, getExitCode, getShutdownStrategy, isTrace, run, setDuration, setDurationHitExitCode, setDurationIdle, setDurationMaxMessages, setShutdownStrategy, waitUntilCompletedaddInitialProperty, addMainListener, addOverrideProperty, addProperty, autoConfigurationFailFast, autoConfigurationFromProperties, autoConfigurationMainConfiguration, autoConfigurationPropertiesComponent, autoconfigure, autowireConfigurationFromRegistry, autowireWildcardProperties, computeProperties, configure, configurePropertiesService, configureRoutes, doAutowireWildcardProperties, doConfigureCamelContextFromMainConfiguration, getCamelContext, getCamelTemplate, getDefaultPropertyPlaceholderLocation, getInitialProperties, getOverrideProperties, getPropertyPlaceholderLocations, getRouteDefinitions, getRoutesCollector, isAutoConfigurationEnabled, isServiceEnabled, loadConfigurations, loadRouteBuilders, optionKey, postProcessCamelContext, removeMainListener, setAutoConfigurationEnabled, setDefaultPropertyPlaceholderLocation, setInitialProperties, setOverrideProperties, setPropertiesOnTarget, setPropertyPlaceholderLocations, setRoutesCollector, validateOptionAndValuebuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic static Main getInstance()
protected org.apache.camel.ProducerTemplate findOrCreateCamelTemplate()
findOrCreateCamelTemplate in class org.apache.camel.main.BaseMainSupportprotected org.apache.camel.CamelContext createCamelContext()
createCamelContext in class org.apache.camel.main.BaseMainSupportprotected void doStart()
throws Exception
doStart in class org.apache.camel.main.MainSupportExceptionprotected void initCamelContext()
throws Exception
initCamelContext in class org.apache.camel.main.BaseMainSupportExceptionApache Camel