ramu11 commented on PR #28354:
URL: https://github.com/apache/camel/pull/28354#issuecomment-6414301696

   @davsclaus  I chose the documentation-only approach because this is a rare 
edge case involving mixing exchange-local and ID-based tool-search sessions 
within the same exchange. The exact-session restoration was introduced to 
preserve the original exchange state, as requested in the previous review. 
Changing the runtime behavior to accommodate this mixed-session scenario could 
undermine that guarantee and introduce regressions in existing manual tool 
loops.
   
   Since the behavior is avoidable by keeping the session mode consistent 
throughout a tool loop, documenting this constraint is the lower-risk approach 
and keeps the production change focused. If we later identify a concrete use 
case requiring mixed session modes, we can address it with a dedicated 
lifecycle change and regression tests.


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