Claus Ibsen created CAMEL-9053:
----------------------------------

             Summary: rest-dsl - Add some dsl or spi to deal with exceptions 
during marshalling response
                 Key: CAMEL-9053
                 URL: https://issues.apache.org/jira/browse/CAMEL-9053
             Project: Camel
          Issue Type: Improvement
          Components: camel-core, rest
            Reporter: Claus Ibsen
             Fix For: Future


See CAMEL-9034

We may want to add some way of easily configure some options or dsl or some spi 
interface that allows end users to deal with exceptions during json/jaxb 
marshalling. 

For example users may want to say whether to include stacktrace in response, 
what the status code should be (default to 500) and maybe a custom response 
body etc.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to