allthingssecurity commented on PR #30830: URL: https://github.com/apache/camel/pull/30830#issuecomment-7182134400
Thanks, all three addressed in fed2b0e2bbab: 1. Monitor task: instead of tracking the future, the monitor is now started after `super.doStart()` in both starts, not at the end of `subscribe()`. A failed attempt never starts it, so there is nothing to cancel. (The only way to get there was `super.doStart()` throwing after `subscribe()`, which does not happen in a route as the processor is already started, but the order is right now either way.) 2. Retry scheduling: right that it is racy, though `getExecutor()` does not return null here, it creates a new executor when the stop has cleared the field, and nothing shuts that one down. The catch block now reads the field, does not schedule when it is null or shut down, and ignores a `RejectedExecutionException` from the last small window. 3. Interrupt flag: restored, after `releaseFailedStart()` so the release of the connection is not affected by it. No new test for these, as they are timing windows; the camel-xmpp unit tests pass. PR description updated. -- 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]
