gnodet opened a new pull request, #25245:
URL: https://github.com/apache/camel/pull/25245

   ## Summary
   
   - Replace `synchronized` blocks with `ReentrantLock` in three files within 
the `camel-ai` parent module to improve virtual thread compatibility (part of 
CAMEL-20199)
   - `GuardedTaskStore`: Replace internal `Object lifecycleLock` with 
`ReentrantLock`, expose via `getLock()` so external callers can coordinate
   - `A2AProgress`: Use `GuardedTaskStore.getLock()` to share the same lock 
instance, with a `ConcurrentHashMap`-based fallback for non-guarded stores
   - `AbstractTaskPredictor`: Replace `synchronized (this)` with a private 
`ReentrantLock` field
   
   ## Test plan
   
   - [x] `mvn test -B` in `components/camel-ai/camel-a2a` -- 506 tests pass, 0 
failures
   - [x] `mvn test -B` in `components/camel-ai/camel-huggingface` -- BUILD 
SUCCESS
   - [x] `mvn formatter:format impsort:sort` passes without reverting changes
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
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]

Reply via email to