jamesnetherton commented on issue #3155: URL: https://github.com/apache/camel-quarkus/issues/3155#issuecomment-937645488
I think the problem is that in your `onException` handler you are doing: ``` .marshal().json(); ``` Since the JSON `RestBindingMode` is enabled, you don't need to do the marshalling step manually. It will result in Camel attempting to marshal an already marshalled body. Hence the 500 response. -- 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]
