Hi The stop method will only stop CamelContext. Though it depends on how you start the JVM, eg if you use some of the Main classes from Camel then it will detect that Camel is stopped and then shutdown the JVM also.
See these FAQs http://camel.apache.org/running-camel-standalone.html http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html So it depends how you run the JVM, how you can shutdown the JVM from JMX. On Tue, Jan 1, 2013 at 10:46 PM, yxzhao <[email protected]> wrote: > Hi All, > > We have an application using camel. Now we're trying to shut it down through > JConsole (invoke the stop operation in camel context), but the application > does not die though the camel logged below info in the log. > > [INFO] org.apache.camel.spring.SpringCamelContext - Apache Camel 2.10.0 > (CamelContext: myCamel) is shutdown in 0.007 seconds. Uptime 3 minutes. > > Does anyone out there have a solution for us or did we misunderstand > something? > > Thanks a lot for any info and have a great holiday season! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Shutdown-but-Application-does-not-die-tp5724755.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- 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
