Hi Just stop the JVM using ctrl + c. Or call stop() on the main.
On Fri, Sep 12, 2014 at 7:00 AM, dharshan <[email protected]> wrote: > I have run below code and run it > > Main main = new Main(); > main.enableHangupSupport(); > FileCopyRouterBuilder fileCopy=new FileCopyRouterBuilder(); > fileCopy.initFileProcess("D:\\InBox","D:\\OutBox"); > main.addRouteBuilder(fileCopy); > main.run(a); > > Now I need to stop the Camel ? How Do I do it this ? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-Do-I-Stop-The-Camel-tp5756386.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
