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

rest-dsl - clientRequestValidation should report error 400 if json/xml binding and invalid payload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.12.0
    • camel-core, rest
    • None
    • Unknown

    Description

      We can improve the client validation to auto detect if the input cannot be parsed and return a error 400

      Usually the Camel error handler such as onException would do this.
      But then the end user need to setup this.

      Reported on camel-quarkus
      https://github.com/apache/camel-quarkus/issues/3129

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: