davsclaus commented on PR #29525:
URL: https://github.com/apache/camel/pull/29525#issuecomment-6778411055

   Follow-up for the bean component in #29575. A plain bean method 
(`MethodInfo`) set any `Error` on the exchange, a `VirtualMachineError` 
included, because reflection wraps it in an `InvocationTargetException`. So an 
`OutOfMemoryError` from a bean method went to `onException`/`doCatch`/the DLC, 
unlike one from a bean that is a `Processor`. #29575 aligns bean methods with 
the rule in this PR, and doesn't depend on it.
   
   _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]

Reply via email to