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

Route contract validate does not throw validation exception when validation fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.21.0, 2.22.0
    • Fix Version/s: 2.21.4, 2.22.2, 2.23.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      This route will not throw validation exception when expected

                      validator().type("xml").withUri("validator:org/apache/camel/impl/validate.xsd");
      
                      from("direct:in").inputTypeWithValidate("xml")
                          .to("mock:result");
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: