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

Route contract validate does not throw validation exception when validation fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.21.0, 2.22.0
    • 2.21.4, 2.22.2, 2.23.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: