Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Information Provided
-
None
-
None
-
None
-
Unknown
Description
Since Camel 4.1.0, by default, stack traces are not included in HTTP responses and exceptions are muted. https://camel.apache.org/manual/camel-4x-upgrade-guide-4_1.html#_camel_jetty_camel_servlet_camel_atmosphere_websocket_camel_http_common
It would be nice to have a way to set muteException and logException like this:
restConfiguration().component("servlet").muteException(false);
So that users don't have to set application properties.
In the attached reproducer bean-validator.zip it's not possible to set with route option as the documentation suggests. Only by setting application property:
camel.component.servlet.mute-exception=false