Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.24.2, 3.0.0
-
None
-
Unknown
Description
In an OSGI context when Blueprint framework is used, if the shutdown strategy timeout is greater than one minute, the timeout is not effective.
When the bundle is stopping, this is the call chain:
BlueprintEventDispatcher (timeout 1 minute) --> BlueprintCamelContext.blueprintEvent --> BlueprintCamelContext.stop (timeout 5 minute by default)
So when the Shutdown strategy timeout is longer than one minute, the BlueprintEventDispatcher timeout is triggered for first, making the shutdown strategy useless.
The solution to this, is to remove the piece of code that handle the destroy event from BlueprintCamelContext.
Attachments
Issue Links
- causes
-
CAMEL-15760 org.osgi.service.blueprint.container.NoSuchComponentException: No component with id 'blueprintBundle' could be found
- Resolved
- relates to
-
CAMEL-14336 Default shutdown timeout should be reduced to 45 seconds
- Resolved
- links to