davsclaus opened a new pull request, #25104: URL: https://github.com/apache/camel/pull/25104
## Backport of #25085 Cherry-pick of #25085 onto `camel-4.18.x`. **Original PR:** #25085 - CAMEL-24244: Fix DefaultStreamCachingStrategy.updateSpool releasing the lock **Original author:** @oscerd **Target branch:** `camel-4.18.x` ### Original description Fix a copy-paste bug where `updateSpool()` called `lock.lock()` instead of `lock.unlock()` in its finally block. The hold count grows without bound and every other thread entering `updateSpool()` blocks forever — including CamelContext shutdown which calls `statistics.reset()` on the same lock. _Claude Code on behalf of davsclaus_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
