Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9053

rest-dsl - Add some dsl or spi to deal with exceptions during marshalling response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • Future
    • camel-core, rest
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: