You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/08/05 11:47:04 UTC

[jira] [Created] (CAMEL-9053) rest-dsl - Add some dsl or spi to deal with exceptions during marshalling response

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)