allthingssecurity commented on PR #30307: URL: https://github.com/apache/camel/pull/30307#issuecomment-6973372687
Pushed a4e915e8fd0e: - the stop test (now `stopCancelsThePolls`) checks that the task of the polls is in the TaskManagerRegistry while the consumer runs, that the registry is back to its size before the start once the consumer is stopped, and that no poll runs after the stop. Without the `cancel(false)` in `doStop` it fails (the task stays in the registry); with it the class passes 10 times in a row (460/460). - the comment in `doStop` now says that a running poll finishes the file it is routing and then stops, as the loop checks `isStarted()`. - the single-thread executor is gone: `run()` only schedules the polls, so `doStart` calls it directly. _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]
