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

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

commit d565b4e66fb4edec92597a51fff7c1538804ae09
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 27 15:02:28 2026 +0100

    CAMEL-23832: camel-json-validator - improve the component and option 
descriptions
    
    New texts for the component description, 3 component options and 8 endpoint 
options, checked against the Camel code
    and the NetworkNT JSON Schema Validator 3.0.9 and Jackson 3.2 classes. The 
headerName text did not say it is a header
    name, the error handler text named a ValidatorErrorHandler type, and no 
text said which exception a missing body or
    header raises, which ObjectMapper parses the JSON, which schema version is 
the default, or what contentCache changes.
    
    Documentation only, no behavior change. The component JSON, the catalog 
copy, the doc page header and the DSL are
    regenerated. camel-json-validator is marked as done in 
tasks/component-descriptions.md.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../camel/catalog/components/json-validator.json   | 24 +++----
 .../catalog/docs/json-validator-component.adoc     |  2 +-
 .../component/jsonvalidator/json-validator.json    | 24 +++----
 .../src/main/docs/json-validator-component.adoc    |  2 +-
 .../jsonvalidator/JsonValidatorComponent.java      | 24 +++----
 .../jsonvalidator/JsonValidatorEndpoint.java       | 57 +++++++--------
 .../component/ComponentsBuilderFactory.java        |  3 +-
 .../dsl/JsonValidatorComponentBuilderFactory.java  | 24 +++++--
 .../builder/endpoint/StaticEndpointBuilders.java   |  6 +-
 .../dsl/JsonValidatorEndpointBuilderFactory.java   | 84 +++++++++++++++-------
 tasks/component-descriptions.md                    |  2 +-
 11 files changed, 149 insertions(+), 103 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-validator.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-validator.json
index f43468633441..77468ae37747 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-validator.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/json-validator.json
@@ -3,7 +3,7 @@
     "kind": "component",
     "name": "json-validator",
     "title": "JSON Schema Validator",
-    "description": "Validate JSON payloads using NetworkNT JSON Schema.",
+    "description": "Validate the JSON in the message body or in a header 
against a JSON Schema, with the NetworkNT JSON Schema Validator.",
     "deprecated": false,
     "firstVersion": "2.20.0",
     "label": "validation",
@@ -24,11 +24,11 @@
     "remote": false
   },
   "componentProperties": {
-    "contentCache": { "index": 0, "kind": "property", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Sets whether to use resource 
content cache or not" },
+    "contentCache": { "index": 0, "kind": "property", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "The contentCache value that the 
component sets on each endpoint that it creates. The endpoint loads the schema 
on the first message and keeps it, whatever this value is. The JMX operation 
clearContentCache makes the [...]
     "lazyStartProducer": { "index": 1, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
-    "useDefaultObjectMapper": { "index": 2, "kind": "property", "displayName": 
"Use Default Object Mapper", "group": "producer", "label": "", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether to lookup and use the default Jackson 3 (tools.jackson) ObjectMapper 
from the registry." },
+    "useDefaultObjectMapper": { "index": 2, "kind": "property", "displayName": 
"Use Default Object Mapper", "group": "producer", "label": "", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether the endpoints use the Jackson 3 (tools.jackson) ObjectMapper of the 
registry to parse the JSON to validate, when the registry holds exactly one. 
The objectMapper option takes precedence [...]
     "autowiredEnabled": { "index": 3, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
-    "objectMapper": { "index": 4, "kind": "property", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "Lookup and use the existing Jackson 3 
(tools.jackson) ObjectMapper with the given id." }
+    "objectMapper": { "index": 4, "kind": "property", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "The id of a Jackson 3 (tools.jackson) 
ObjectMapper in the registry that the endpoints use to parse the JSON to 
validate. Takes precedence over useDefaultObjectMapper. Creating an endpoint 
fails when the registry has no Ob [...]
   },
   "bodyTypes": {
     "producerIn": { "carriers": [ "text", "bytes", "stream", "file" ], 
"format": "json", "dependsOn": [ "headerName" ], "byOption": [ { "option": 
"failOnNullBody", "value": "false", "carriers": [ "null", "text", "bytes", 
"stream", "file" ] } ], "description": "The JSON to validate: text, bytes, a 
stream or a file. A Map, a POJO or no body fails: marshal it first; with 
headerName the header is validated instead" },
@@ -38,14 +38,14 @@
     "resourceUri": { "index": 0, "kind": "path", "displayName": "Resource 
Uri", "group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "supportFileReference": true, "description": "Path to the 
resource. You can prefix with: classpath, file, http, ref, or bean. classpath, 
file and http loads the resource using these protocols (classpath is default). 
ref will lookup the resource in the  [...]
     "allowContextMapAll": { "index": 1, "kind": "parameter", "displayName": 
"Allow Context Map All", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Sets whether the 
context map should allow access to all details. By default only the message 
body and headers can be accessed. This option can be enabled for full access to 
the current Exchange and C [...]
     "contentCache": { "index": 2, "kind": "parameter", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Sets whether to use resource 
content cache or not" },
-    "failOnNullBody": { "index": 3, "kind": "parameter", "displayName": "Fail 
On Null Body", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to fail if no 
body exists." },
-    "failOnNullHeader": { "index": 4, "kind": "parameter", "displayName": 
"Fail On Null Header", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to fail 
if no header exists when validating against a header." },
-    "headerName": { "index": 5, "kind": "parameter", "displayName": "Header 
Name", "group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "To validate against a header instead of the 
message body." },
+    "failOnNullBody": { "index": 3, "kind": "parameter", "displayName": "Fail 
On Null Body", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to fail with a 
NoJsonBodyValidationException when the message has no body. If false, a message 
without a body is not validated and continues unchanged. Not used with 
headerName, where failOnNullHeader [...]
+    "failOnNullHeader": { "index": 4, "kind": "parameter", "displayName": 
"Fail On Null Header", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to fail 
with a NoJsonHeaderValidationException when the header of the headerName option 
is missing or null. If false, the message is then not validated and continues 
unchanged. Only used with head [...]
+    "headerName": { "index": 5, "kind": "parameter", "displayName": "Header 
Name", "group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "The name of the header that holds the JSON to 
validate, in place of the message body. If not set, the message body is 
validated." },
     "lazyStartProducer": { "index": 6, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether the producer should be started 
lazy (on the first message). By starting lazy you can use this to allow 
CamelContext and routes to startup in situations where a produc [...]
-    "disabledDeserializationFeatures": { "index": 7, "kind": "parameter", 
"displayName": "Disabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson DeserializationFeature enum 
values which will be disabled for parsing exchange body" },
-    "enabledDeserializationFeatures": { "index": 8, "kind": "parameter", 
"displayName": "Enabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson DeserializationFeature enum 
values which will be enabled for parsing exchange body" },
-    "errorHandler": { "index": 9, "kind": "parameter", "displayName": "Error 
Handler", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonValidatorErrorHandler", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
use a custom ValidatorErrorHandler. The default error handler captures the 
errors and throws an exception." },
-    "objectMapper": { "index": 10, "kind": "parameter", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "tools.jackson.databind.ObjectMapper", "deprecated": 
false, "autowired": false, "secret": false, "description": "The Jackson 3 
(tools.jackson) object mapper used to parse the JSON" },
-    "uriSchemaLoader": { "index": 11, "kind": "parameter", "displayName": "Uri 
Schema Loader", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonUriSchemaLoader", "deprecated": 
false, "autowired": false, "secret": false, "description": "To use a custom 
schema loader allowing for adding custom format validation. The default 
implementation will create a schema loader that tries to determine the schema 
ve [...]
+    "disabledDeserializationFeatures": { "index": 7, "kind": "parameter", 
"displayName": "Disabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson 3 DeserializationFeature names 
to disable on a copy of the ObjectMapper that parses the JSON to validate. An 
unknown name fails the start of the endp [...]
+    "enabledDeserializationFeatures": { "index": 8, "kind": "parameter", 
"displayName": "Enabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson 3 DeserializationFeature names, 
such as FAIL_ON_TRAILING_TOKENS, to enable on a copy of the ObjectMapper that 
parses the JSON to validate. An unknown n [...]
+    "errorHandler": { "index": 9, "kind": "parameter", "displayName": "Error 
Handler", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonValidatorErrorHandler", 
"deprecated": false, "autowired": false, "secret": false, "description": "A 
custom JsonValidatorErrorHandler that receives the schema validation errors, or 
the exception when the JSON cannot be read or parsed. The default handler 
throws a JsonV [...]
+    "objectMapper": { "index": 10, "kind": "parameter", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "tools.jackson.databind.ObjectMapper", "deprecated": 
false, "autowired": false, "secret": false, "description": "The Jackson 3 
(tools.jackson) ObjectMapper that parses the JSON to validate. If not set, the 
objectMapper and useDefaultObjectMapper options of the component decide, and 
otherwise the endpoint creates [...]
+    "uriSchemaLoader": { "index": 11, "kind": "parameter", "displayName": "Uri 
Schema Loader", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonUriSchemaLoader", "deprecated": 
false, "autowired": false, "secret": false, "description": "A custom 
JsonUriSchemaLoader that creates the schema from the resourceUri, for example 
to add custom formats or keywords. The default loader takes the JSON Schema 
versi [...]
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/json-validator-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/json-validator-component.adoc
index 6cda6ee33d6b..ab8ce121530f 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/json-validator-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/json-validator-component.adoc
@@ -2,7 +2,7 @@
 :doctitle: JSON Schema Validator
 :shortname: json-validator
 :artifactid: camel-json-validator
-:description: Validate JSON payloads using NetworkNT JSON Schema.
+:description: Validate the JSON in the message body or in a header against a 
JSON Schema, with the NetworkNT JSON Schema Validator.
 :since: 2.20
 :supportlevel: Stable
 :tabs-sync-option:
diff --git 
a/components/camel-json-validator/src/generated/resources/META-INF/org/apache/camel/component/jsonvalidator/json-validator.json
 
b/components/camel-json-validator/src/generated/resources/META-INF/org/apache/camel/component/jsonvalidator/json-validator.json
index f43468633441..77468ae37747 100644
--- 
a/components/camel-json-validator/src/generated/resources/META-INF/org/apache/camel/component/jsonvalidator/json-validator.json
+++ 
b/components/camel-json-validator/src/generated/resources/META-INF/org/apache/camel/component/jsonvalidator/json-validator.json
@@ -3,7 +3,7 @@
     "kind": "component",
     "name": "json-validator",
     "title": "JSON Schema Validator",
-    "description": "Validate JSON payloads using NetworkNT JSON Schema.",
+    "description": "Validate the JSON in the message body or in a header 
against a JSON Schema, with the NetworkNT JSON Schema Validator.",
     "deprecated": false,
     "firstVersion": "2.20.0",
     "label": "validation",
@@ -24,11 +24,11 @@
     "remote": false
   },
   "componentProperties": {
-    "contentCache": { "index": 0, "kind": "property", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Sets whether to use resource 
content cache or not" },
+    "contentCache": { "index": 0, "kind": "property", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "The contentCache value that the 
component sets on each endpoint that it creates. The endpoint loads the schema 
on the first message and keeps it, whatever this value is. The JMX operation 
clearContentCache makes the [...]
     "lazyStartProducer": { "index": 1, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
-    "useDefaultObjectMapper": { "index": 2, "kind": "property", "displayName": 
"Use Default Object Mapper", "group": "producer", "label": "", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether to lookup and use the default Jackson 3 (tools.jackson) ObjectMapper 
from the registry." },
+    "useDefaultObjectMapper": { "index": 2, "kind": "property", "displayName": 
"Use Default Object Mapper", "group": "producer", "label": "", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether the endpoints use the Jackson 3 (tools.jackson) ObjectMapper of the 
registry to parse the JSON to validate, when the registry holds exactly one. 
The objectMapper option takes precedence [...]
     "autowiredEnabled": { "index": 3, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
-    "objectMapper": { "index": 4, "kind": "property", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "Lookup and use the existing Jackson 3 
(tools.jackson) ObjectMapper with the given id." }
+    "objectMapper": { "index": 4, "kind": "property", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "The id of a Jackson 3 (tools.jackson) 
ObjectMapper in the registry that the endpoints use to parse the JSON to 
validate. Takes precedence over useDefaultObjectMapper. Creating an endpoint 
fails when the registry has no Ob [...]
   },
   "bodyTypes": {
     "producerIn": { "carriers": [ "text", "bytes", "stream", "file" ], 
"format": "json", "dependsOn": [ "headerName" ], "byOption": [ { "option": 
"failOnNullBody", "value": "false", "carriers": [ "null", "text", "bytes", 
"stream", "file" ] } ], "description": "The JSON to validate: text, bytes, a 
stream or a file. A Map, a POJO or no body fails: marshal it first; with 
headerName the header is validated instead" },
@@ -38,14 +38,14 @@
     "resourceUri": { "index": 0, "kind": "path", "displayName": "Resource 
Uri", "group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "supportFileReference": true, "description": "Path to the 
resource. You can prefix with: classpath, file, http, ref, or bean. classpath, 
file and http loads the resource using these protocols (classpath is default). 
ref will lookup the resource in the  [...]
     "allowContextMapAll": { "index": 1, "kind": "parameter", "displayName": 
"Allow Context Map All", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Sets whether the 
context map should allow access to all details. By default only the message 
body and headers can be accessed. This option can be enabled for full access to 
the current Exchange and C [...]
     "contentCache": { "index": 2, "kind": "parameter", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Sets whether to use resource 
content cache or not" },
-    "failOnNullBody": { "index": 3, "kind": "parameter", "displayName": "Fail 
On Null Body", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to fail if no 
body exists." },
-    "failOnNullHeader": { "index": 4, "kind": "parameter", "displayName": 
"Fail On Null Header", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to fail 
if no header exists when validating against a header." },
-    "headerName": { "index": 5, "kind": "parameter", "displayName": "Header 
Name", "group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "To validate against a header instead of the 
message body." },
+    "failOnNullBody": { "index": 3, "kind": "parameter", "displayName": "Fail 
On Null Body", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to fail with a 
NoJsonBodyValidationException when the message has no body. If false, a message 
without a body is not validated and continues unchanged. Not used with 
headerName, where failOnNullHeader [...]
+    "failOnNullHeader": { "index": 4, "kind": "parameter", "displayName": 
"Fail On Null Header", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to fail 
with a NoJsonHeaderValidationException when the header of the headerName option 
is missing or null. If false, the message is then not validated and continues 
unchanged. Only used with head [...]
+    "headerName": { "index": 5, "kind": "parameter", "displayName": "Header 
Name", "group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "The name of the header that holds the JSON to 
validate, in place of the message body. If not set, the message body is 
validated." },
     "lazyStartProducer": { "index": 6, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether the producer should be started 
lazy (on the first message). By starting lazy you can use this to allow 
CamelContext and routes to startup in situations where a produc [...]
-    "disabledDeserializationFeatures": { "index": 7, "kind": "parameter", 
"displayName": "Disabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson DeserializationFeature enum 
values which will be disabled for parsing exchange body" },
-    "enabledDeserializationFeatures": { "index": 8, "kind": "parameter", 
"displayName": "Enabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson DeserializationFeature enum 
values which will be enabled for parsing exchange body" },
-    "errorHandler": { "index": 9, "kind": "parameter", "displayName": "Error 
Handler", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonValidatorErrorHandler", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
use a custom ValidatorErrorHandler. The default error handler captures the 
errors and throws an exception." },
-    "objectMapper": { "index": 10, "kind": "parameter", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "tools.jackson.databind.ObjectMapper", "deprecated": 
false, "autowired": false, "secret": false, "description": "The Jackson 3 
(tools.jackson) object mapper used to parse the JSON" },
-    "uriSchemaLoader": { "index": 11, "kind": "parameter", "displayName": "Uri 
Schema Loader", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonUriSchemaLoader", "deprecated": 
false, "autowired": false, "secret": false, "description": "To use a custom 
schema loader allowing for adding custom format validation. The default 
implementation will create a schema loader that tries to determine the schema 
ve [...]
+    "disabledDeserializationFeatures": { "index": 7, "kind": "parameter", 
"displayName": "Disabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson 3 DeserializationFeature names 
to disable on a copy of the ObjectMapper that parses the JSON to validate. An 
unknown name fails the start of the endp [...]
+    "enabledDeserializationFeatures": { "index": 8, "kind": "parameter", 
"displayName": "Enabled Deserialization Features", "group": "advanced", 
"label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Comma-separated list of Jackson 3 DeserializationFeature names, 
such as FAIL_ON_TRAILING_TOKENS, to enable on a copy of the ObjectMapper that 
parses the JSON to validate. An unknown n [...]
+    "errorHandler": { "index": 9, "kind": "parameter", "displayName": "Error 
Handler", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonValidatorErrorHandler", 
"deprecated": false, "autowired": false, "secret": false, "description": "A 
custom JsonValidatorErrorHandler that receives the schema validation errors, or 
the exception when the JSON cannot be read or parsed. The default handler 
throws a JsonV [...]
+    "objectMapper": { "index": 10, "kind": "parameter", "displayName": "Object 
Mapper", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "tools.jackson.databind.ObjectMapper", "deprecated": 
false, "autowired": false, "secret": false, "description": "The Jackson 3 
(tools.jackson) ObjectMapper that parses the JSON to validate. If not set, the 
objectMapper and useDefaultObjectMapper options of the component decide, and 
otherwise the endpoint creates [...]
+    "uriSchemaLoader": { "index": 11, "kind": "parameter", "displayName": "Uri 
Schema Loader", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.jsonvalidator.JsonUriSchemaLoader", "deprecated": 
false, "autowired": false, "secret": false, "description": "A custom 
JsonUriSchemaLoader that creates the schema from the resourceUri, for example 
to add custom formats or keywords. The default loader takes the JSON Schema 
versi [...]
   }
 }
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 6cda6ee33d6b..ab8ce121530f 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
@@ -2,7 +2,7 @@
 :doctitle: JSON Schema Validator
 :shortname: json-validator
 :artifactid: camel-json-validator
-:description: Validate JSON payloads using NetworkNT JSON Schema.
+:description: Validate the JSON in the message body or in a header against a 
JSON Schema, with the NetworkNT JSON Schema Validator.
 :since: 2.20
 :supportlevel: Stable
 :tabs-sync-option:
diff --git 
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorComponent.java
 
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorComponent.java
index 8d39c2046222..31be6503116f 100644
--- 
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorComponent.java
+++ 
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonValidatorComponent.java
@@ -31,11 +31,20 @@ import tools.jackson.databind.ObjectMapper;
 @Component("json-validator")
 public class JsonValidatorComponent extends DefaultComponent {
 
-    @Metadata(defaultValue = "true", description = "Sets whether to use 
resource content cache or not")
+    @Metadata(defaultValue = "true",
+              description = "The contentCache value that the component sets on 
each endpoint that it creates. The endpoint"
+                            + " loads the schema on the first message and 
keeps it, whatever this value is. The JMX"
+                            + " operation clearContentCache makes the endpoint 
load the schema again on the next message.")
     private boolean contentCache = true;
-    @Metadata(defaultValue = "true")
+    @Metadata(defaultValue = "true",
+              description = "Whether the endpoints use the Jackson 3 
(tools.jackson) ObjectMapper of the registry to parse the"
+                            + " JSON to validate, when the registry holds 
exactly one. The objectMapper option takes"
+                            + " precedence. If no mapper is found, the 
endpoint creates one with the Jackson 2 defaults.")
     private boolean useDefaultObjectMapper = true;
-    @Metadata(label = "advanced")
+    @Metadata(label = "advanced",
+              description = "The id of a Jackson 3 (tools.jackson) 
ObjectMapper in the registry that the endpoints use to parse"
+                            + " the JSON to validate. Takes precedence over 
useDefaultObjectMapper. Creating an endpoint fails"
+                            + " when the registry has no ObjectMapper with 
this id.")
     private String objectMapper;
 
     @Override
@@ -58,9 +67,6 @@ public class JsonValidatorComponent extends DefaultComponent {
         return contentCache;
     }
 
-    /**
-     * Sets whether to use resource content cache or not
-     */
     public void setContentCache(boolean contentCache) {
         this.contentCache = contentCache;
     }
@@ -69,9 +75,6 @@ public class JsonValidatorComponent extends DefaultComponent {
         return useDefaultObjectMapper;
     }
 
-    /**
-     * Whether to lookup and use the default Jackson 3 (tools.jackson) 
ObjectMapper from the registry.
-     */
     public void setUseDefaultObjectMapper(boolean useDefaultObjectMapper) {
         this.useDefaultObjectMapper = useDefaultObjectMapper;
     }
@@ -80,9 +83,6 @@ public class JsonValidatorComponent extends DefaultComponent {
         return objectMapper;
     }
 
-    /**
-     * Lookup and use the existing Jackson 3 (tools.jackson) ObjectMapper with 
the given id.
-     */
     public void setObjectMapper(String objectMapper) {
         this.objectMapper = objectMapper;
     }
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 225397da14c5..415c6095a6ef 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
@@ -43,7 +43,7 @@ import tools.jackson.databind.cfg.MapperBuilder;
 import tools.jackson.databind.json.JsonMapper;
 
 /**
- * Validate JSON payloads using NetworkNT JSON Schema.
+ * Validate the JSON in the message body or in a header against a JSON Schema, 
with the NetworkNT JSON Schema Validator.
  */
 @ManagedResource(description = "Managed JsonValidatorEndpoint")
 @UriEndpoint(scheme = "json-validator", firstVersion = "2.20.0", title = "JSON 
Schema Validator",
@@ -65,23 +65,43 @@ public class JsonValidatorEndpoint extends ResourceEndpoint 
{
 
     private volatile Schema schema;
 
-    @UriParam(defaultValue = "true")
+    @UriParam(defaultValue = "true",
+              description = "Whether to fail with a 
NoJsonBodyValidationException when the message has no body. If false, a"
+                            + " message without a body is not validated and 
continues unchanged. Not used with headerName,"
+                            + " where failOnNullHeader applies instead.")
     private boolean failOnNullBody = true;
-    @UriParam(defaultValue = "true")
+    @UriParam(defaultValue = "true",
+              description = "Whether to fail with a 
NoJsonHeaderValidationException when the header of the headerName option"
+                            + " is missing or null. If false, the message is 
then not validated and continues unchanged. Only"
+                            + " used with headerName.")
     private boolean failOnNullHeader = true;
-    @UriParam(description = "To validate against a header instead of the 
message body.")
+    @UriParam(description = "The name of the header that holds the JSON to 
validate, in place of the message body. If not"
+                            + " set, the message body is validated.")
     private String headerName;
-    @UriParam(label = "advanced")
+    @UriParam(label = "advanced",
+              description = "A custom JsonValidatorErrorHandler that receives 
the schema validation errors, or the exception"
+                            + " when the JSON cannot be read or parsed. The 
default handler throws a JsonValidationException."
+                            + " A handler that does not throw lets the message 
continue.")
     private JsonValidatorErrorHandler errorHandler = new 
DefaultJsonValidationErrorHandler();
-    @UriParam(label = "advanced")
+    @UriParam(label = "advanced",
+              description = "A custom JsonUriSchemaLoader that creates the 
schema from the resourceUri, for example to add"
+                            + " custom formats or keywords. The default loader 
takes the JSON Schema version from the $schema"
+                            + " property of the schema, and uses draft 2019-09 
when $schema is missing or unknown.")
     private JsonUriSchemaLoader uriSchemaLoader = new 
DefaultJsonUriSchemaLoader();
     @UriParam(label = "advanced",
-              description = "Comma-separated list of Jackson 
DeserializationFeature enum values which will be enabled for parsing exchange 
body")
+              description = "Comma-separated list of Jackson 3 
DeserializationFeature names, such as FAIL_ON_TRAILING_TOKENS,"
+                            + " to enable on a copy of the ObjectMapper that 
parses the JSON to validate. An unknown name fails"
+                            + " the start of the endpoint. The schema itself 
is parsed with a separate mapper.")
     private String enabledDeserializationFeatures;
     @UriParam(label = "advanced",
-              description = "Comma-separated list of Jackson 
DeserializationFeature enum values which will be disabled for parsing exchange 
body")
+              description = "Comma-separated list of Jackson 3 
DeserializationFeature names to disable on a copy of the"
+                            + " ObjectMapper that parses the JSON to validate. 
An unknown name fails the start of the endpoint."
+                            + " The schema itself is parsed with a separate 
mapper.")
     private String disabledDeserializationFeatures;
-    @UriParam(label = "advanced", description = "The Jackson 3 (tools.jackson) 
object mapper used to parse the JSON")
+    @UriParam(label = "advanced",
+              description = "The Jackson 3 (tools.jackson) ObjectMapper that 
parses the JSON to validate. If not set, the"
+                            + " objectMapper and useDefaultObjectMapper 
options of the component decide, and otherwise the"
+                            + " endpoint creates a mapper with the Jackson 2 
defaults.")
     private ObjectMapper objectMapper;
 
     public JsonValidatorEndpoint(String endpointUri, Component component, 
String resourceUri) {
@@ -250,11 +270,6 @@ public class JsonValidatorEndpoint extends 
ResourceEndpoint {
         return errorHandler;
     }
 
-    /**
-     * To use a custom ValidatorErrorHandler.
-     * <p/>
-     * The default error handler captures the errors and throws an exception.
-     */
     public void setErrorHandler(JsonValidatorErrorHandler errorHandler) {
         this.errorHandler = errorHandler;
     }
@@ -263,11 +278,6 @@ public class JsonValidatorEndpoint extends 
ResourceEndpoint {
         return uriSchemaLoader;
     }
 
-    /**
-     * To use a custom schema loader allowing for adding custom format 
validation. The default implementation will
-     * create a schema loader that tries to determine the schema version from 
the $schema property of the specified
-     * schema.
-     */
     public void setUriSchemaLoader(JsonUriSchemaLoader uriSchemaLoader) {
         this.uriSchemaLoader = uriSchemaLoader;
     }
@@ -276,9 +286,6 @@ public class JsonValidatorEndpoint extends ResourceEndpoint 
{
         return failOnNullBody;
     }
 
-    /**
-     * Whether to fail if no body exists.
-     */
     public void setFailOnNullBody(boolean failOnNullBody) {
         this.failOnNullBody = failOnNullBody;
     }
@@ -287,9 +294,6 @@ public class JsonValidatorEndpoint extends ResourceEndpoint 
{
         return failOnNullHeader;
     }
 
-    /**
-     * Whether to fail if no header exists when validating against a header.
-     */
     public void setFailOnNullHeader(boolean failOnNullHeader) {
         this.failOnNullHeader = failOnNullHeader;
     }
@@ -298,9 +302,6 @@ public class JsonValidatorEndpoint extends ResourceEndpoint 
{
         return headerName;
     }
 
-    /**
-     * To validate against a header instead of the message body.
-     */
     public void setHeaderName(String headerName) {
         this.headerName = headerName;
     }
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 5f1e37f33275..203c4291fd58 100644
--- 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -3056,7 +3056,8 @@ public interface ComponentsBuilderFactory {
     }
     /**
      * JSON Schema Validator (camel-json-validator)
-     * Validate JSON payloads using NetworkNT JSON Schema.
+     * Validate the JSON in the message body or in a header against a JSON
+     * Schema, with the NetworkNT JSON Schema Validator.
      * 
      * Category: validation
      * Since: 2.20
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JsonValidatorComponentBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JsonValidatorComponentBuilderFactory.java
index 65ea0b73f7cb..673e334d0875 100644
--- 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JsonValidatorComponentBuilderFactory.java
+++ 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/JsonValidatorComponentBuilderFactory.java
@@ -24,7 +24,8 @@ import org.apache.camel.builder.component.ComponentBuilder;
 import org.apache.camel.component.jsonvalidator.JsonValidatorComponent;
 
 /**
- * Validate JSON payloads using NetworkNT JSON Schema.
+ * Validate the JSON in the message body or in a header against a JSON Schema,
+ * with the NetworkNT JSON Schema Validator.
  * 
  * Generated by camel build tools - do NOT edit this file!
  */
@@ -33,7 +34,8 @@ public interface JsonValidatorComponentBuilderFactory {
 
     /**
      * JSON Schema Validator (camel-json-validator)
-     * Validate JSON payloads using NetworkNT JSON Schema.
+     * Validate the JSON in the message body or in a header against a JSON
+     * Schema, with the NetworkNT JSON Schema Validator.
      * 
      * Category: validation
      * Since: 2.20
@@ -52,7 +54,10 @@ public interface JsonValidatorComponentBuilderFactory {
     
         
         /**
-         * Sets whether to use resource content cache or not.
+         * The contentCache value that the component sets on each endpoint that
+         * it creates. The endpoint loads the schema on the first message and
+         * keeps it, whatever this value is. The JMX operation 
clearContentCache
+         * makes the endpoint load the schema again on the next message.
          * 
          * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
@@ -94,8 +99,11 @@ public interface JsonValidatorComponentBuilderFactory {
     
         
         /**
-         * Whether to lookup and use the default Jackson 3 (tools.jackson)
-         * ObjectMapper from the registry.
+         * Whether the endpoints use the Jackson 3 (tools.jackson) ObjectMapper
+         * of the registry to parse the JSON to validate, when the registry
+         * holds exactly one. The objectMapper option takes precedence. If no
+         * mapper is found, the endpoint creates one with the Jackson 2
+         * defaults.
          * 
          * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
@@ -133,8 +141,10 @@ public interface JsonValidatorComponentBuilderFactory {
         }
     
         /**
-         * Lookup and use the existing Jackson 3 (tools.jackson) ObjectMapper
-         * with the given id.
+         * The id of a Jackson 3 (tools.jackson) ObjectMapper in the registry
+         * that the endpoints use to parse the JSON to validate. Takes
+         * precedence over useDefaultObjectMapper. Creating an endpoint fails
+         * when the registry has no ObjectMapper with this id.
          * 
          * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
          * 
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index cdaf941680b8..1ef0b42d7b26 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -10076,7 +10076,8 @@ public class StaticEndpointBuilders {
     }
     /**
      * JSON Schema Validator (camel-json-validator)
-     * Validate JSON payloads using NetworkNT JSON Schema.
+     * Validate the JSON in the message body or in a header against a JSON
+     * Schema, with the NetworkNT JSON Schema Validator.
      * 
      * Category: validation
      * Since: 2.20
@@ -10101,7 +10102,8 @@ public class StaticEndpointBuilders {
     }
     /**
      * JSON Schema Validator (camel-json-validator)
-     * Validate JSON payloads using NetworkNT JSON Schema.
+     * Validate the JSON in the message body or in a header against a JSON
+     * Schema, with the NetworkNT JSON Schema Validator.
      * 
      * Category: validation
      * Since: 2.20
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonValidatorEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonValidatorEndpointBuilderFactory.java
index dbbac656ada7..307b0f72c66b 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonValidatorEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonValidatorEndpointBuilderFactory.java
@@ -27,7 +27,8 @@ import org.apache.camel.builder.EndpointProducerBuilder;
 import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
 
 /**
- * Validate JSON payloads using NetworkNT JSON Schema.
+ * Validate the JSON in the message body or in a header against a JSON Schema,
+ * with the NetworkNT JSON Schema Validator.
  * 
  * Generated by camel build tools - do NOT edit this file!
  */
@@ -113,7 +114,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * Whether to fail if no body exists.
+         * Whether to fail with a NoJsonBodyValidationException when the 
message
+         * has no body. If false, a message without a body is not validated and
+         * continues unchanged. Not used with headerName, where 
failOnNullHeader
+         * applies instead.
          * 
          * The option is a: <code>boolean</code> type.
          * 
@@ -128,7 +132,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * Whether to fail if no body exists.
+         * Whether to fail with a NoJsonBodyValidationException when the 
message
+         * has no body. If false, a message without a body is not validated and
+         * continues unchanged. Not used with headerName, where 
failOnNullHeader
+         * applies instead.
          * 
          * The option will be converted to a <code>boolean</code> type.
          * 
@@ -143,7 +150,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * Whether to fail if no header exists when validating against a 
header.
+         * Whether to fail with a NoJsonHeaderValidationException when the
+         * header of the headerName option is missing or null. If false, the
+         * message is then not validated and continues unchanged. Only used 
with
+         * headerName.
          * 
          * The option is a: <code>boolean</code> type.
          * 
@@ -158,7 +168,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * Whether to fail if no header exists when validating against a 
header.
+         * Whether to fail with a NoJsonHeaderValidationException when the
+         * header of the headerName option is missing or null. If false, the
+         * message is then not validated and continues unchanged. Only used 
with
+         * headerName.
          * 
          * The option will be converted to a <code>boolean</code> type.
          * 
@@ -173,7 +186,8 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * To validate against a header instead of the message body.
+         * The name of the header that holds the JSON to validate, in place of
+         * the message body. If not set, the message body is validated.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
@@ -245,8 +259,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * Comma-separated list of Jackson DeserializationFeature enum values
-         * which will be disabled for parsing exchange body.
+         * Comma-separated list of Jackson 3 DeserializationFeature names to
+         * disable on a copy of the ObjectMapper that parses the JSON to
+         * validate. An unknown name fails the start of the endpoint. The 
schema
+         * itself is parsed with a separate mapper.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
@@ -260,8 +276,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * Comma-separated list of Jackson DeserializationFeature enum values
-         * which will be enabled for parsing exchange body.
+         * Comma-separated list of Jackson 3 DeserializationFeature names, such
+         * as FAIL_ON_TRAILING_TOKENS, to enable on a copy of the ObjectMapper
+         * that parses the JSON to validate. An unknown name fails the start of
+         * the endpoint. The schema itself is parsed with a separate mapper.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
@@ -275,8 +293,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * To use a custom ValidatorErrorHandler. The default error handler
-         * captures the errors and throws an exception.
+         * A custom JsonValidatorErrorHandler that receives the schema
+         * validation errors, or the exception when the JSON cannot be read or
+         * parsed. The default handler throws a JsonValidationException. A
+         * handler that does not throw lets the message continue.
          * 
          * The option is a:
          * 
<code>org.apache.camel.component.jsonvalidator.JsonValidatorErrorHandler</code> 
type.
@@ -291,8 +311,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * To use a custom ValidatorErrorHandler. The default error handler
-         * captures the errors and throws an exception.
+         * A custom JsonValidatorErrorHandler that receives the schema
+         * validation errors, or the exception when the JSON cannot be read or
+         * parsed. The default handler throws a JsonValidationException. A
+         * handler that does not throw lets the message continue.
          * 
          * The option will be converted to a
          * 
<code>org.apache.camel.component.jsonvalidator.JsonValidatorErrorHandler</code> 
type.
@@ -307,7 +329,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * The Jackson 3 (tools.jackson) object mapper used to parse the JSON.
+         * The Jackson 3 (tools.jackson) ObjectMapper that parses the JSON to
+         * validate. If not set, the objectMapper and useDefaultObjectMapper
+         * options of the component decide, and otherwise the endpoint creates 
a
+         * mapper with the Jackson 2 defaults.
          * 
          * The option is a: <code>tools.jackson.databind.ObjectMapper</code>
          * type.
@@ -322,7 +347,10 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * The Jackson 3 (tools.jackson) object mapper used to parse the JSON.
+         * The Jackson 3 (tools.jackson) ObjectMapper that parses the JSON to
+         * validate. If not set, the objectMapper and useDefaultObjectMapper
+         * options of the component decide, and otherwise the endpoint creates 
a
+         * mapper with the Jackson 2 defaults.
          * 
          * The option will be converted to a
          * <code>tools.jackson.databind.ObjectMapper</code> type.
@@ -337,10 +365,11 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * To use a custom schema loader allowing for adding custom format
-         * validation. The default implementation will create a schema loader
-         * that tries to determine the schema version from the $schema property
-         * of the specified schema.
+         * A custom JsonUriSchemaLoader that creates the schema from the
+         * resourceUri, for example to add custom formats or keywords. The
+         * default loader takes the JSON Schema version from the $schema
+         * property of the schema, and uses draft 2019-09 when $schema is
+         * missing or unknown.
          * 
          * The option is a:
          * 
<code>org.apache.camel.component.jsonvalidator.JsonUriSchemaLoader</code> type.
@@ -355,10 +384,11 @@ public interface JsonValidatorEndpointBuilderFactory {
             return this;
         }
         /**
-         * To use a custom schema loader allowing for adding custom format
-         * validation. The default implementation will create a schema loader
-         * that tries to determine the schema version from the $schema property
-         * of the specified schema.
+         * A custom JsonUriSchemaLoader that creates the schema from the
+         * resourceUri, for example to add custom formats or keywords. The
+         * default loader takes the JSON Schema version from the $schema
+         * property of the schema, and uses draft 2019-09 when $schema is
+         * missing or unknown.
          * 
          * The option will be converted to a
          * 
<code>org.apache.camel.component.jsonvalidator.JsonUriSchemaLoader</code> type.
@@ -377,7 +407,8 @@ public interface JsonValidatorEndpointBuilderFactory {
     public interface JsonValidatorBuilders {
         /**
          * JSON Schema Validator (camel-json-validator)
-         * Validate JSON payloads using NetworkNT JSON Schema.
+         * Validate the JSON in the message body or in a header against a JSON
+         * Schema, with the NetworkNT JSON Schema Validator.
          * 
          * Category: validation
          * Since: 2.20
@@ -403,7 +434,8 @@ public interface JsonValidatorEndpointBuilderFactory {
         }
         /**
          * JSON Schema Validator (camel-json-validator)
-         * Validate JSON payloads using NetworkNT JSON Schema.
+         * Validate the JSON in the message body or in a header against a JSON
+         * Schema, with the NetworkNT JSON Schema Validator.
          * 
          * Category: validation
          * Since: 2.20
diff --git a/tasks/component-descriptions.md b/tasks/component-descriptions.md
index a9b4227a23b7..8d205e837719 100644
--- a/tasks/component-descriptions.md
+++ b/tasks/component-descriptions.md
@@ -240,7 +240,7 @@ or removes its row.
 | camel-jpa | jpa |  |
 | camel-jsch | scp | yes |
 | camel-jslt | jslt |  |
-| camel-json-validator | json-validator |  |
+| camel-json-validator | json-validator | yes |
 | camel-jsonata | jsonata | yes |
 | camel-jt400 | jt400 |  |
 | camel-jte | jte |  |

Reply via email to