Apache Camel: How to get the exception message inside the doCatch() block?
I need to return the message from a thrown exception, or put it in the outmessage. But it does not print the correct message on the frontend. The camel docs suggest using .transform(simple?...) .handled(true) but most of it is deprecated.…