gnodet commented on code in PR #25245:
URL: https://github.com/apache/camel/pull/25245#discussion_r3682566620


##########
components/camel-ai/camel-a2a/src/main/java/org/apache/camel/component/a2a/A2AEndpoint.java:
##########


Review Comment:
   Good point — moved the `removeStoreLock()` call inside the `if 
(taskStoreOwned)` guard so it only cleans up locks for stores exclusively owned 
by this endpoint. Non-owned (registry-discovered) stores are always wrapped in 
`GuardedTaskStore`, which provides its own lock via `getLock()` and never 
enters the static `STORE_LOCKS` map, so they were never at risk of premature 
removal — but the guard makes the intent explicit and prevents any future 
surprise.
   
   _Claude Code on behalf of 



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