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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 154ddec4cc1 [create-pull-request] automated change (#1696)
154ddec4cc1 is described below

commit 154ddec4cc1c5b1bddf3a366a28551f78151196e
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Mar 4 13:28:49 2026 +0100

    [create-pull-request] automated change (#1696)
    
    Co-authored-by: oscerd <[email protected]>
---
 .../org/apache/camel/springboot/catalog/components/docling.json    | 4 ++--
 .../camel-docling-starter/src/main/docs/docling.json               | 2 +-
 .../docling/springboot/DoclingComponentConfiguration.java          | 7 +++++--
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/docling.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/docling.json
index 149929a80db..15a0cac1ec3 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/docling.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/docling.json
@@ -61,7 +61,7 @@
     "workingDirectory": { "index": 34, "kind": "property", "displayName": 
"Working Directory", "group": "advanced", "label": "advanced", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Working directory for 
Docling execution" },
     "batchFailOnFirstError": { "index": 35, "kind": "property", "displayName": 
"Batch Fail On First Error", "group": "batch", "label": "batch", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue": 
true, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Fail entire batch on 
first error (true) or conti [...]
     "batchParallelism": { "index": 36, "kind": "property", "displayName": 
"Batch Parallelism", "group": "batch", "label": "batch", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "deprecationNote": 
"", "autowired": false, "secret": false, "defaultValue": 4, 
"configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Number of parallel 
threads for batch processing" },
-    "batchSize": { "index": 37, "kind": "property", "displayName": "Batch 
Size", "group": "batch", "label": "batch", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": 10, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Maximum number of 
documents to process in a single batch (batch operations only)" },
+    "batchSize": { "index": 37, "kind": "property", "displayName": "Batch 
Size", "group": "batch", "label": "batch", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": 10, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Number of documents to 
submit per sub-batch. Documents are partitioned into sub-b [...]
     "batchTimeout": { "index": 38, "kind": "property", "displayName": "Batch 
Timeout", "group": "batch", "label": "batch", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": 300000, 
"configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Maximum time to wait for 
batch completion in milliseconds" },
     "splitBatchResults": { "index": 39, "kind": "property", "displayName": 
"Split Batch Results", "group": "batch", "label": "batch", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Split batch results into 
individual exchanges (one per do [...]
     "chunkingIncludeRawText": { "index": 40, "kind": "property", 
"displayName": "Chunking Include Raw Text", "group": "chunking", "label": 
"chunking", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Include raw text in 
chunk output" },
@@ -147,7 +147,7 @@
     "workingDirectory": { "index": 33, "kind": "parameter", "displayName": 
"Working Directory", "group": "advanced", "label": "advanced", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Working directory for 
Docling execution" },
     "batchFailOnFirstError": { "index": 34, "kind": "parameter", 
"displayName": "Batch Fail On First Error", "group": "batch", "label": "batch", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "deprecationNote": "", "autowired": false, "secret": false, 
"defaultValue": true, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Fail entire batch on 
first error (true) or cont [...]
     "batchParallelism": { "index": 35, "kind": "parameter", "displayName": 
"Batch Parallelism", "group": "batch", "label": "batch", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "deprecationNote": 
"", "autowired": false, "secret": false, "defaultValue": 4, 
"configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Number of parallel 
threads for batch processing" },
-    "batchSize": { "index": 36, "kind": "parameter", "displayName": "Batch 
Size", "group": "batch", "label": "batch", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": 10, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Maximum number of 
documents to process in a single batch (batch operations only)" },
+    "batchSize": { "index": 36, "kind": "parameter", "displayName": "Batch 
Size", "group": "batch", "label": "batch", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": 10, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Number of documents to 
submit per sub-batch. Documents are partitioned into sub- [...]
     "batchTimeout": { "index": 37, "kind": "parameter", "displayName": "Batch 
Timeout", "group": "batch", "label": "batch", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "defaultValue": 300000, 
"configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Maximum time to wait for 
batch completion in milliseconds" },
     "splitBatchResults": { "index": 38, "kind": "parameter", "displayName": 
"Split Batch Results", "group": "batch", "label": "batch", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Split batch results into 
individual exchanges (one per d [...]
     "chunkingIncludeRawText": { "index": 39, "kind": "parameter", 
"displayName": "Chunking Include Raw Text", "group": "chunking", "label": 
"chunking", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.docling.DoclingConfiguration", 
"configurationField": "configuration", "description": "Include raw text in 
chunk output" },
diff --git 
a/components-starter/camel-docling-starter/src/main/docs/docling.json 
b/components-starter/camel-docling-starter/src/main/docs/docling.json
index 1eeb24a40d5..f9951b67840 100644
--- a/components-starter/camel-docling-starter/src/main/docs/docling.json
+++ b/components-starter/camel-docling-starter/src/main/docs/docling.json
@@ -78,7 +78,7 @@
     {
       "name": "camel.component.docling.batch-size",
       "type": "java.lang.Integer",
-      "description": "Maximum number of documents to process in a single batch 
(batch operations only)",
+      "description": "Number of documents to submit per sub-batch. Documents 
are partitioned into sub-batches of this size and each sub-batch is processed 
before starting the next one. Within each sub-batch, up to batchParallelism 
threads are used concurrently. This controls memory usage and back-pressure 
when processing large document sets.",
       "sourceType": 
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
       "defaultValue": 10
     },
diff --git 
a/components-starter/camel-docling-starter/src/main/java/org/apache/camel/component/docling/springboot/DoclingComponentConfiguration.java
 
b/components-starter/camel-docling-starter/src/main/java/org/apache/camel/component/docling/springboot/DoclingComponentConfiguration.java
index 8c313d5a33a..74ada5ed4fa 100644
--- 
a/components-starter/camel-docling-starter/src/main/java/org/apache/camel/component/docling/springboot/DoclingComponentConfiguration.java
+++ 
b/components-starter/camel-docling-starter/src/main/java/org/apache/camel/component/docling/springboot/DoclingComponentConfiguration.java
@@ -203,8 +203,11 @@ public class DoclingComponentConfiguration
      */
     private Integer batchParallelism = 4;
     /**
-     * Maximum number of documents to process in a single batch (batch
-     * operations only)
+     * Number of documents to submit per sub-batch. Documents are partitioned
+     * into sub-batches of this size and each sub-batch is processed before
+     * starting the next one. Within each sub-batch, up to batchParallelism
+     * threads are used concurrently. This controls memory usage and
+     * back-pressure when processing large document sets.
      */
     private Integer batchSize = 10;
     /**

Reply via email to