allthingssecurity commented on PR #30312:
URL: https://github.com/apache/camel/pull/30312#issuecomment-6971508403

   Thanks Claus.
   
   - Slow stop when the server is unreachable: I kept the wait in the stop. If 
the destroy moves to a background thread, the stop returns before the client's 
endpoint (socket and its threads) is released, and on a context shutdown the 
JVM can exit with that still open, which is what this PR is about. The 5 s 
bound is only reached when no answer to the cancel comes. I added a note on 
`CANCEL_TIMEOUT_MILLIS` (each stop can take up to 5 s, one after the other on a 
context shutdown) in ae91bcb.
   - Cancel answered with the observe option: added the one-line comment in 
`onLoad` in the same commit.
   
   _Claude Code on behalf of allthingssecurity_
   


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