gnodet opened a new pull request, #25240: URL: https://github.com/apache/camel/pull/25240
## Summary - Remove `ThreadLocal<WeakReference<Yaml>>` caching from `SnakeYAMLDataFormat` that is ineffective with virtual threads (each VT is short-lived, so the cache never gets a hit) - Create a fresh `Yaml` instance per marshal/unmarshal operation instead (Yaml is not thread-safe, and its constructor cost is modest) - Rename `getYaml()` to `createYaml()` to reflect the new semantics Part of the broader CAMEL-20199 effort to complete virtual thread support across components. ## Test plan - [x] All 19 existing tests in `camel-snakeyaml` pass (including `SnakeYAMLConcurrentTest`) _Claude Code on behalf of Guillaume Nodet_ -- 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]
