Hi I guess your problem has nothing to do with the shutdown hook of Camel itself but with another hook log4j tries to setup as well:
https://github.com/apache/logging-log4j2/blob/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java#L208 Maybe verify that the Camel / slf4j / log4j versions you make use of are properly matching. Babak amshf wrote > Nothing?! > > somebody in stackoverflow says it's a bug in Camel. Is it true?! > > here's the link: > My Question in stackoverflow > <http://stackoverflow.com/questions/23476715/apache-camel-unable-to-register-shutdown-hook-due-to-jvm-state> > -- View this message in context: http://camel.465427.n5.nabble.com/WARN-Unable-to-register-shutdown-hook-due-to-JVM-state-tp5750889p5751023.html Sent from the Camel - Users mailing list archive at Nabble.com.
