Hi See http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html
On Fri, Aug 22, 2014 at 2:36 AM, Matt Sicker <[email protected]> wrote: > I can't find anything anywhere about this, so I guess I have to ask here. > I've got about ten different CamelContexts running in Karaf. After adding > camel-disruptor, I've found that if I have to shut down Karaf, it hangs for > five minutes before finally letting go. I saw that this is the default > settings for Camel, and the information about configuring the > ShutdownStrategy are nonexistent. There's a brief mention of how to obtain > it from _a_ CamelContext, but I have no idea how that applies to the other > nine CamelContexts. > > How can I configure this so that it only waits for a few seconds before > forceful termination? Since other services running in Karaf will have > already shut down by this point, the fact that Camel is still accepting > requests (CXF-RS) while claiming it can't shut down due to handling > requests is complete nonsense as well. Every message it accepts times out > due to no longer having an ActiveMQ connection. > > -- > Matt Sicker <[email protected]> -- 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/
