[ 
https://issues.apache.org/jira/browse/CAMEL-14025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16946189#comment-16946189
 ] 

Michael Schnitzler commented on CAMEL-14025:
--------------------------------------------

I'd be happy to work on this feature and already have a simple "muteException" 
option on the camel-undertow component. Enabling this option will suppress 
either the stack trace or the serialized exception (if enabled by 
transferException) in the response's body.

Instead, the consumer will respond with HTTP status 500 and a text body "No 
response available". However, I am unsure whether this is a meaningful response.

[~davsclaus], what's your idea on the component's behaviour? Should the 
response body at least indicate that something went wrong?

> Http consumers - Add option to turn off dump exception in plain text as 
> response
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-14025
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14025
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> Stacktraces may be written as-is in responses. We should add option to turn 
> this off, also on component level, so you dont expose this, for example in 
> production systems.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to