org.apache.camel.spring.javaconfig
Class Main

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.main.MainSupport
          extended by org.apache.camel.impl.MainSupport
              extended by org.apache.camel.spring.Main
                  extended by org.apache.camel.spring.javaconfig.Main
All Implemented Interfaces:
org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

public class Main
extends org.apache.camel.spring.Main

The Main class which takes the spring java config parameter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.camel.main.MainSupport
org.apache.camel.main.MainSupport.Option, org.apache.camel.main.MainSupport.ParameterOption
 
Field Summary
 
Fields inherited from class org.apache.camel.spring.Main
instance
 
Fields inherited from class org.apache.camel.main.MainSupport
aggregateDot, camelContexts, camelTemplate, completed, dotOutputDir, duration, latch, LOG, options, routeBuilderClasses, routeBuilders, routesOutputFile, timeUnit, trace
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
Main()
           
 
Method Summary
protected  org.springframework.context.support.AbstractApplicationContext createDefaultApplicationContext()
           
 String getBasedPackages()
           
 String getConfigClassesString()
           
static void main(String... args)
           
 void setBasedPackages(String config)
           
 void setConfigClassesString(String config)
           
 
Methods inherited from class org.apache.camel.spring.Main
createModelFileGenerator, doStart, doStop, findOrCreateCamelTemplate, getApplicationContext, getApplicationContextUri, getCamelContextMap, getFileApplicationContextUri, getInstance, getParentApplicationContext, getParentApplicationContextUri, setApplicationContext, setApplicationContextUri, setFileApplicationContextUri, setParentApplicationContext, setParentApplicationContextUri
 
Methods inherited from class org.apache.camel.main.MainSupport
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
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String... args)
                 throws Exception
Throws:
Exception

setBasedPackages

public void setBasedPackages(String config)

getBasedPackages

public String getBasedPackages()

setConfigClassesString

public void setConfigClassesString(String config)

getConfigClassesString

public String getConfigClassesString()

createDefaultApplicationContext

protected org.springframework.context.support.AbstractApplicationContext createDefaultApplicationContext()
Overrides:
createDefaultApplicationContext in class org.apache.camel.spring.Main


Apache Camel