davsclaus commented on code in PR #29525:
URL: https://github.com/apache/camel/pull/29525#discussion_r4534668369
##########
components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractBeanProcessor.java:
##########
@@ -158,7 +158,8 @@ private static void useCustomAdapter(Exchange exchange,
AsyncCallback callback,
}
try {
target.process(exchange);
- } catch (AssertionError | Exception e) {
+ } catch (Throwable e) {
Review Comment:
Addressed in fb4903ce: `useCustomAdapter` now rethrows a
`VirtualMachineError` (OutOfMemoryError, StackOverflowError, ...) as before, so
Camel's error handling never tries to handle a JVM-level failure. Only other
`Throwable`s are set on the exchange, as `DelegateSyncProcessor` already does.
Resolving; please reopen if you still see a case it misses.
_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]