davsclaus commented on PR #30694: URL: https://github.com/apache/camel/pull/30694#issuecomment-7126295382
A correction to one of the smaller points in my review: please ignore the remark about `VirtualMachineError` in `error-handler.adoc`. The wording is right. That section is about an `Error` thrown by a processor in the route. There, an `Error` that is not a `VirtualMachineError` (such as a `LinkageError`) fails the exchange and the error handler handles it, so it never reaches the poll consumer as an `Error`. Only a `VirtualMachineError` gets past the error handling to `doRun()`, which is what the new paragraph says. An `Error` of any type gets there only when the consumer's own `poll()` throws it (the `LinkageError` in the unit test), and the upgrade guide entry already covers that with "an `Error`". Optional, if you touch the paragraph anyway: "When a `VirtualMachineError` from the route reaches ..." reads better than "When the `VirtualMachineError` ...". The two points before merge still stand: the rethrow when the poll ran over a stop, and the Spring/Quartz schedulers. Also, #30703 is now merged, so this needs a rebase onto main (see the last bullet of the review). _Claude Code on behalf of davsclaus_ -- 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]
