allthingssecurity commented on PR #30763: URL: https://github.com/apache/camel/pull/30763#issuecomment-7155950118
Thanks Claus. All four points are in one new commit, d6a090a0a5. 1. The comment on the `MongoException` catch now talks about `tryNext()`. 2. The component page (and the catalog copy) now reads "unless a later change completed, as the token of that later change already passes the failed one". 3. While the token repository is down, only the first failed commit of a post batch resume token in a row goes to the exception handler, with its stack trace. The next ones log one WARN line with the count (stack trace at DEBUG), and the next successful commit, of a post batch token or of an event token, logs one INFO line and ends the run, as the run loop does. So a custom `exceptionHandler` or `bridgeErrorHandler` sees one call per outage, not one per getMore. That commit is new in this PR, and failed commits of event tokens still reach the handler every time, as on main. New test `repeatedPostBatchResumeTokenCommitFailuresReachTheExceptionHandlerOnce`. I updated the line about this in the PR body. 4. Added the sentence to the 4.24 upgrade guide entry: a route with a fresh repository now resumes after the stored token after a restart, so the changes made while it was stopped are routed. camel-mongodb unit tests: 1123 run, 0 failures. It still merges cleanly with the current main. -- 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]
