Invoking a Processor bean with BeanProcessor does not handle a non Exception Throwable thrown by the Processor, for example if the Processor throw an AssertionError. The throwable will be caught and logged by the DefaultReactiveExecutor above, but because it is ignored and prevented the execution of callbacks the route is stuck.
With the following route:
The code will block indefinitely on the producerTemplate.send(...)
This is not an issue when a method is invoked directly because the AssertionError is wrapped in an InvocationTargetException, it only occurs when a Processor is used.
It look like a regression from this commit https://github.com/apache/camel/commit/ab217659e3c9013322a5e7793db5dff904dc4c67 that changed the catch Throwable in catch Exception when the processor is invoked in AbstractBeanProcessor.