Karaf container doesn't respect Camel's DefaultShutdownStrategy timeout if pending camel route is Spring DM bundle
Issue
When shutting down a JBoss Fuse standalone container with a pending Camel route, Karaf forcefully shuts down much quicker than 300 seconds Camel's DefaultShutdownStrategy timeout if the pending camel route is a Spring DM camel bundle. Although for blueprint camel bundles, Karaf does respect Camel's DefaultShutdownStrategy timeout and it will wait for 300 seconds elapse before shutting down.
Is there a reason why Karaf container doesn't respect Camel's DefaultShutdownStrategy timeout for Spring camel route? Is there a solution for it?
Environment
- JBoss Fuse
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
