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

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   - Make `processor` and `lookupProcessorDone` fields `volatile` so racing 
threads see consistent values
   - Add double-check of `lookupProcessorDone` after acquiring the lock to 
prevent duplicate conversions
   - Move `lookupProcessorDone = true` after the conversion succeeds so a 
conversion failure doesn't permanently disable the lookup
   
   Fixes: https://issues.apache.org/jira/browse/CAMEL-24104
   
   ## Test plan
   
   - [x] All 346 existing bean component tests pass — no regressions
   - No new test: the visibility race is non-deterministic and not reliably 
reproducible in a unit test
   
   🤖 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