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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: camel-core, rest
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated: