This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f6ed38  CAMEL-12165: camel-jaxb - Allow to configure severity level 
on schema validation
0f6ed38 is described below

commit 0f6ed382e6dcf551fda891d6d6757d17816f28ce
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jan 19 14:07:14 2018 +0100

    CAMEL-12165: camel-jaxb - Allow to configure severity level on schema 
validation
---
 .../main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java
 
b/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java
index 5324072..bd4c26a 100644
--- 
a/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java
+++ 
b/camel-core/src/main/java/org/apache/camel/model/dataformat/JaxbDataFormat.java
@@ -346,6 +346,9 @@ public class JaxbDataFormat extends DataFormatDefinition {
         if (schema != null) {
             setProperty(camelContext, dataFormat, "schema", schema);
         }
+        if (schemaSeverityLevel != null) {
+            setProperty(camelContext, dataFormat, "schemaSeverityLevel", 
schemaSeverityLevel);
+        }
         if (xmlStreamWriterWrapper != null) {
             setProperty(camelContext, dataFormat, "xmlStreamWriterWrapper", 
xmlStreamWriterWrapper);
         }

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to