Karaf container doesn't respect Camel's DefaultShutdownStrategy timeout if pending camel route is Spring DM bundle

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content