You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/10/25 08:31:00 UTC

[jira] [Created] (CAMEL-12900) Route contract validate does not throw validation exception when validation fails

Claus Ibsen created CAMEL-12900:
-----------------------------------

             Summary: Route contract validate does not throw validation exception when validation fails
                 Key: CAMEL-12900
                 URL: https://issues.apache.org/jira/browse/CAMEL-12900
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.22.0, 2.21.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.22.2, 2.23.0, 2.21.4


This route will not throw validation exception when expected
{code}
                validator().type("xml").withUri("validator:org/apache/camel/impl/validate.xsd");

                from("direct:in").inputTypeWithValidate("xml")
                    .to("mock:result");
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)