Hi Yes see this FAQ and the links it has, and you will find what you seek http://camel.apache.org/running-camel-standalone.html
On Thu, Nov 29, 2012 at 11:20 PM, Tyler Durvik <[email protected]> wrote: > I have always used maven in development and generated projects using > the maven "archetype:generate" target. I have performed those steps > again on my current project but now I want to load the XML > configuration file containing the Camel Context and route definitions > from a Main java class. Is there a tutorial on how to do this? > > So to explain better, I want a Java Main class that does the same as > "mvn camel:run". > > Thank you. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
