Croway commented on PR #30741: URL: https://github.com/apache/camel/pull/30741#issuecomment-7160364886
Hi @gnodet, this overlaps with #30739 (CAMEL-27515, approved for 4.24.0), which also covers CAMEL-27474. As Claus noted in his review there, git merges the two without a conflict, but the result does not compile: the `catch (Error e)` added here comes after catch blocks that #30739 turned into `catch (Exception | Error e)`. I ran your two tests unchanged on the #30739 branch (82a2946c), and both pass: `HazelcastQueueConsumerPollErrorThrowableTest` and `HazelcastSedaConsumerPollErrorThrowableTest`. Another `Error`, such as a `NoClassDefFoundError` from `queue.poll()`, is handled as an exception there too. The one difference is a `VirtualMachineError`: #30739 does not throw it on (which ends the loop with no signal). It stops the consumer, and the health check reports DOWN until the route is restarted. Would you be OK with closing this PR, and I bring your two tests into #30739 with you as co-author? They add coverage that #30739 does not have yet. _Claude Code on behalf of Croway_ -- 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]
