...
The Main
class is provided in the following two components
camel-core
JAR in theorg.apache.camel.Main
class (requires Camel 2.6)camel-spring
JAR in theorg.apache.camel.spring.Main
class
Using camel-core
JAR example
...
This would be similar to the camel-core
JAR example, however you would use the Main
class from the org.apache.camel.spring
package.
The Main
class from camel-spring
JAR has many more options and is prepared for booting Camel from Spring XML files.
See Also
- Running Camel standalone
- Chapter 13 in the Camel in Action book explains more about running Camel