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

acosentino 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 fc37bc3  CAMEL-12223: camel-json-validator: Removed metioning of 
Everit from documentation and code comments.
fc37bc3 is described below

commit fc37bc344300ad01363e6e89e9f044451803f776
Author: Pontus Ullgren <ullg...@gmail.com>
AuthorDate: Fri Feb 2 09:42:25 2018 +0100

    CAMEL-12223: camel-json-validator: Removed metioning of Everit from 
documentation and code comments.
---
 .../camel-json-validator/src/main/docs/json-validator-component.adoc | 4 ++--
 .../apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java  | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-json-validator/src/main/docs/json-validator-component.adoc 
b/components/camel-json-validator/src/main/docs/json-validator-component.adoc
index a6b29ae..12dc05a 100644
--- 
a/components/camel-json-validator/src/main/docs/json-validator-component.adoc
+++ 
b/components/camel-json-validator/src/main/docs/json-validator-component.adoc
@@ -67,7 +67,7 @@ with the following path and query parameters:
 | *failOnNullHeader* (producer) | Whether to fail if no header exists when 
validating against a header. | true | boolean
 | *headerName* (producer) | To validate against a header instead of the 
message body. |  | String
 | *errorHandler* (advanced) | To use a custom ValidatorErrorHandler. The 
default error handler captures the errors and throws an exception. |  | 
JsonValidatorError Handler
-| *schemaLoader* (advanced) | To use a custom schema loader allowing for 
adding custom format validation. See Everit JSON Schema documentation. The 
default implementation will create a schema loader builder with draft v6 
support. |  | JsonSchemaLoader
+| *schemaLoader* (advanced) | To use a custom schema loader allowing for 
adding custom format validation. The default implementation will create a 
schema loader with draft v4 support. |  | JsonSchemaLoader
 | *synchronous* (advanced) | Sets whether synchronous processing should be 
strictly used or Camel is allowed to use asynchronous processing (if 
supported). | false | boolean
 |===
 // endpoint options: END
@@ -124,4 +124,4 @@ we can validate incoming JSON with the following Camel 
route, where `myschema.js
 from("direct:start")
   .to("json-validator:myschema.json")
   .to("mock:end")
-----
\ No newline at end of file
+----
diff --git 
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
 
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
index a4706c0..fb07874 100644
--- 
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
+++ 
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorEndpoint.java
@@ -36,7 +36,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Validates the payload of a message using Everit JSON schema validator.
+ * Validates the payload of a message using NetworkNT JSON Schema library.
  */
 @ManagedResource(description = "Managed JsonValidatorEndpoint")
 @UriEndpoint(scheme = "json-validator", firstVersion = "2.20.0", title = "JSON 
Schema Validator", syntax = "json-validator:resourceUri",
@@ -167,8 +167,7 @@ public class JsonValidatorEndpoint extends ResourceEndpoint 
{
     }
     
     /**
-     * To use a custom schema loader allowing for adding custom format 
validation. See Everit JSON Schema documentation.
-     * The default implementation will create a schema loader builder with 
draft v6 support.
+     * To use a custom schema loader allowing for adding custom format 
validation. The default implementation will create a schema loader with draft 
v4 support.
      */
     public void setSchemaLoader(JsonSchemaLoader schemaLoader) {
         this.schemaLoader = schemaLoader;

-- 
To stop receiving notification emails like this one, please contact
acosent...@apache.org.

Reply via email to