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 5cdccfce444 Regen
5cdccfce444 is described below
commit 5cdccfce444e8f88b8519c364f5906240ddb4ed3
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Oct 22 07:11:59 2025 +0200
Regen
---
.../springboot/catalog/components/docling.json | 54 ++++++----
.../src/main/docs/docling.json | 63 ++++++++++++
.../springboot/DoclingComponentConfiguration.java | 109 +++++++++++++++++++++
3 files changed, 208 insertions(+), 18 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 8b8779acdd0..93008a98843 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
@@ -38,15 +38,24 @@
"asyncPollInterval": { "index": 11, "kind": "property", "displayName":
"Async Poll Interval", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "long", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
2000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Polling interval for
async conversion status in millise [...]
"asyncTimeout": { "index": 12, "kind": "property", "displayName": "Async
Timeout", "group": "advanced", "label": "advanced", "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
async conversion completion in millisec [...]
"autowiredEnabled": { "index": 13, "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 [...]
- "convertEndpoint": { "index": 14, "kind": "property", "displayName":
"Convert Endpoint", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"\/v1\/convert\/source", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Docling-serve API
convert endp [...]
- "doclingCommand": { "index": 15, "kind": "property", "displayName":
"Docling Command", "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": "Path to Docling Python
executable or command" },
- "processTimeout": { "index": 16, "kind": "property", "displayName":
"Process Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 30000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Timeout for Docling
process execution in milliseconds" },
- "useAsyncMode": { "index": 17, "kind": "property", "displayName": "Use
Async Mode", "group": "advanced", "label": "advanced", "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": "Use asynchronous
conversion mode (docling-serve API only)" },
- "workingDirectory": { "index": 18, "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" },
- "apiKeyHeader": { "index": 19, "kind": "property", "displayName": "Api Key
Header", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"X-API-Key", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Header name for API key
authentication" },
- "authenticationScheme": { "index": 20, "kind": "property", "displayName":
"Authentication Scheme", "group": "security", "label": "security", "required":
false, "type": "enum", "javaType":
"org.apache.camel.component.docling.AuthenticationScheme", "enum": [ "NONE",
"BEARER", "API_KEY" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "NONE", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration", "configuration [...]
- "authenticationToken": { "index": 21, "kind": "property", "displayName":
"Authentication Token", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Authentication token for
docling-serve API (Bearer token or API [...]
- "maxFileSize": { "index": 22, "kind": "property", "displayName": "Max File
Size", "group": "security", "label": "security", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": 52428800,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum file size in
bytes for processing" }
+ "connectionRequestTimeout": { "index": 14, "kind": "property",
"displayName": "Connection Request Timeout", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "defaultValue": 30000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Connection request
timeout in millisecond [...]
+ "connectionTimeout": { "index": 15, "kind": "property", "displayName":
"Connection Timeout", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
30000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Connection timeout in
milliseconds" },
+ "connectionTimeToLive": { "index": 16, "kind": "property", "displayName":
"Connection Time To Live", "group": "advanced", "label": "advanced",
"required": false, "type": "integer", "javaType": "long", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Time to live for
connections in milliseconds (-1 f [...]
+ "convertEndpoint": { "index": 17, "kind": "property", "displayName":
"Convert Endpoint", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"\/v1\/convert\/source", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Docling-serve API
convert endp [...]
+ "doclingCommand": { "index": 18, "kind": "property", "displayName":
"Docling Command", "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": "Path to Docling Python
executable or command" },
+ "evictIdleConnections": { "index": 19, "kind": "property", "displayName":
"Evict Idle Connections", "group": "advanced", "label": "advanced", "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": "Enable eviction of idle
connections from the pool" },
+ "maxConnectionsPerRoute": { "index": 20, "kind": "property",
"displayName": "Max Connections Per Route", "group": "advanced", "label":
"advanced", "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 connections per
route in the connection [...]
+ "maxIdleTime": { "index": 21, "kind": "property", "displayName": "Max Idle
Time", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": 60000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum idle time for
connections in milliseconds before eviction" },
+ "maxTotalConnections": { "index": 22, "kind": "property", "displayName":
"Max Total Connections", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue": 20,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum total
connections in the connection pool" },
+ "processTimeout": { "index": 23, "kind": "property", "displayName":
"Process Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 30000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Timeout for Docling
process execution in milliseconds" },
+ "socketTimeout": { "index": 24, "kind": "property", "displayName": "Socket
Timeout", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": 60000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Socket timeout in
milliseconds" },
+ "useAsyncMode": { "index": 25, "kind": "property", "displayName": "Use
Async Mode", "group": "advanced", "label": "advanced", "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": "Use asynchronous
conversion mode (docling-serve API only)" },
+ "validateAfterInactivity": { "index": 26, "kind": "property",
"displayName": "Validate After Inactivity", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "defaultValue": 2000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Validate connections
after inactivity in mil [...]
+ "workingDirectory": { "index": 27, "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" },
+ "apiKeyHeader": { "index": 28, "kind": "property", "displayName": "Api Key
Header", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"X-API-Key", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Header name for API key
authentication" },
+ "authenticationScheme": { "index": 29, "kind": "property", "displayName":
"Authentication Scheme", "group": "security", "label": "security", "required":
false, "type": "enum", "javaType":
"org.apache.camel.component.docling.AuthenticationScheme", "enum": [ "NONE",
"BEARER", "API_KEY" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "NONE", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration", "configuration [...]
+ "authenticationToken": { "index": 30, "kind": "property", "displayName":
"Authentication Token", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Authentication token for
docling-serve API (Bearer token or API [...]
+ "maxFileSize": { "index": 31, "kind": "property", "displayName": "Max File
Size", "group": "security", "label": "security", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": 52428800,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum file size in
bytes for processing" }
},
"headers": {
"CamelDoclingOperation": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"DoclingOperations", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The operation to perform",
"constantName": "org.apache.camel.component.docling.DoclingHeaders#OPERATION" },
@@ -76,14 +85,23 @@
"apiTimeout": { "index": 10, "kind": "parameter", "displayName": "Api
Timeout", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": 60000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "API request timeout in
milliseconds" },
"asyncPollInterval": { "index": 11, "kind": "parameter", "displayName":
"Async Poll Interval", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "long", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
2000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Polling interval for
async conversion status in millis [...]
"asyncTimeout": { "index": 12, "kind": "parameter", "displayName": "Async
Timeout", "group": "advanced", "label": "advanced", "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
async conversion completion in millise [...]
- "convertEndpoint": { "index": 13, "kind": "parameter", "displayName":
"Convert Endpoint", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"\/v1\/convert\/source", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Docling-serve API
convert end [...]
- "doclingCommand": { "index": 14, "kind": "parameter", "displayName":
"Docling Command", "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": "Path to Docling Python
executable or command" },
- "processTimeout": { "index": 15, "kind": "parameter", "displayName":
"Process Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 30000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Timeout for Docling
process execution in milliseconds" },
- "useAsyncMode": { "index": 16, "kind": "parameter", "displayName": "Use
Async Mode", "group": "advanced", "label": "advanced", "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": "Use asynchronous
conversion mode (docling-serve API only)" },
- "workingDirectory": { "index": 17, "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" },
- "apiKeyHeader": { "index": 18, "kind": "parameter", "displayName": "Api
Key Header", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"X-API-Key", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Header name for API key
authentication" },
- "authenticationScheme": { "index": 19, "kind": "parameter", "displayName":
"Authentication Scheme", "group": "security", "label": "security", "required":
false, "type": "enum", "javaType":
"org.apache.camel.component.docling.AuthenticationScheme", "enum": [ "NONE",
"BEARER", "API_KEY" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "NONE", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration", "configuratio [...]
- "authenticationToken": { "index": 20, "kind": "parameter", "displayName":
"Authentication Token", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Authentication token for
docling-serve API (Bearer token or API [...]
- "maxFileSize": { "index": 21, "kind": "parameter", "displayName": "Max
File Size", "group": "security", "label": "security", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 52428800,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum file size in
bytes for processing" }
+ "connectionRequestTimeout": { "index": 13, "kind": "parameter",
"displayName": "Connection Request Timeout", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "defaultValue": 30000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Connection request
timeout in millisecon [...]
+ "connectionTimeout": { "index": 14, "kind": "parameter", "displayName":
"Connection Timeout", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
30000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Connection timeout in
milliseconds" },
+ "connectionTimeToLive": { "index": 15, "kind": "parameter", "displayName":
"Connection Time To Live", "group": "advanced", "label": "advanced",
"required": false, "type": "integer", "javaType": "long", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Time to live for
connections in milliseconds (-1 [...]
+ "convertEndpoint": { "index": 16, "kind": "parameter", "displayName":
"Convert Endpoint", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"\/v1\/convert\/source", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Docling-serve API
convert end [...]
+ "doclingCommand": { "index": 17, "kind": "parameter", "displayName":
"Docling Command", "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": "Path to Docling Python
executable or command" },
+ "evictIdleConnections": { "index": 18, "kind": "parameter", "displayName":
"Evict Idle Connections", "group": "advanced", "label": "advanced", "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": "Enable eviction of idle
connections from the [...]
+ "maxConnectionsPerRoute": { "index": 19, "kind": "parameter",
"displayName": "Max Connections Per Route", "group": "advanced", "label":
"advanced", "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 connections per
route in the connectio [...]
+ "maxIdleTime": { "index": 20, "kind": "parameter", "displayName": "Max
Idle Time", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 60000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum idle time for
connections in milliseconds before eviction" },
+ "maxTotalConnections": { "index": 21, "kind": "parameter", "displayName":
"Max Total Connections", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue": 20,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum total
connections in the connection pool" },
+ "processTimeout": { "index": 22, "kind": "parameter", "displayName":
"Process Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 30000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Timeout for Docling
process execution in milliseconds" },
+ "socketTimeout": { "index": 23, "kind": "parameter", "displayName":
"Socket Timeout", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 60000,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Socket timeout in
milliseconds" },
+ "useAsyncMode": { "index": 24, "kind": "parameter", "displayName": "Use
Async Mode", "group": "advanced", "label": "advanced", "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": "Use asynchronous
conversion mode (docling-serve API only)" },
+ "validateAfterInactivity": { "index": 25, "kind": "parameter",
"displayName": "Validate After Inactivity", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "defaultValue": 2000, "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Validate connections
after inactivity in mi [...]
+ "workingDirectory": { "index": 26, "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" },
+ "apiKeyHeader": { "index": 27, "kind": "parameter", "displayName": "Api
Key Header", "group": "security", "label": "security", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "defaultValue":
"X-API-Key", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Header name for API key
authentication" },
+ "authenticationScheme": { "index": 28, "kind": "parameter", "displayName":
"Authentication Scheme", "group": "security", "label": "security", "required":
false, "type": "enum", "javaType":
"org.apache.camel.component.docling.AuthenticationScheme", "enum": [ "NONE",
"BEARER", "API_KEY" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "NONE", "configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration", "configuratio [...]
+ "authenticationToken": { "index": 29, "kind": "parameter", "displayName":
"Authentication Token", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Authentication token for
docling-serve API (Bearer token or API [...]
+ "maxFileSize": { "index": 30, "kind": "parameter", "displayName": "Max
File Size", "group": "security", "label": "security", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "deprecationNote":
"", "autowired": false, "secret": false, "defaultValue": 52428800,
"configurationClass":
"org.apache.camel.component.docling.DoclingConfiguration",
"configurationField": "configuration", "description": "Maximum file size in
bytes for processing" }
}
}
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 8493bde157b..4f601c59f95 100644
--- a/components-starter/camel-docling-starter/src/main/docs/docling.json
+++ b/components-starter/camel-docling-starter/src/main/docs/docling.json
@@ -67,6 +67,27 @@
"description": "The configuration for the Docling Endpoint. The option
is a org.apache.camel.component.docling.DoclingConfiguration type.",
"sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration"
},
+ {
+ "name": "camel.component.docling.connection-request-timeout",
+ "type": "java.lang.Integer",
+ "description": "Connection request timeout in milliseconds (timeout when
requesting connection from pool)",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": 30000
+ },
+ {
+ "name": "camel.component.docling.connection-time-to-live",
+ "type": "java.lang.Long",
+ "description": "Time to live for connections in milliseconds (-1 for
infinite)",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": -1
+ },
+ {
+ "name": "camel.component.docling.connection-timeout",
+ "type": "java.lang.Integer",
+ "description": "Connection timeout in milliseconds",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": 30000
+ },
{
"name": "camel.component.docling.content-in-body",
"type": "java.lang.Boolean",
@@ -112,6 +133,13 @@
"description": "Whether to enable auto configuration of the docling
component. This is enabled by default.",
"sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration"
},
+ {
+ "name": "camel.component.docling.evict-idle-connections",
+ "type": "java.lang.Boolean",
+ "description": "Enable eviction of idle connections from the pool",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": true
+ },
{
"name": "camel.component.docling.include-layout-info",
"type": "java.lang.Boolean",
@@ -126,6 +154,13 @@
"sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.component.docling.max-connections-per-route",
+ "type": "java.lang.Integer",
+ "description": "Maximum connections per route in the connection pool",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": 10
+ },
{
"name": "camel.component.docling.max-file-size",
"type": "java.lang.Long",
@@ -133,6 +168,20 @@
"sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
"defaultValue": 52428800
},
+ {
+ "name": "camel.component.docling.max-idle-time",
+ "type": "java.lang.Long",
+ "description": "Maximum idle time for connections in milliseconds before
eviction",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": 60000
+ },
+ {
+ "name": "camel.component.docling.max-total-connections",
+ "type": "java.lang.Integer",
+ "description": "Maximum total connections in the connection pool",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": 20
+ },
{
"name": "camel.component.docling.ocr-language",
"type": "java.lang.String",
@@ -161,6 +210,13 @@
"sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
"defaultValue": 30000
},
+ {
+ "name": "camel.component.docling.socket-timeout",
+ "type": "java.lang.Integer",
+ "description": "Socket timeout in milliseconds",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": 60000
+ },
{
"name": "camel.component.docling.use-async-mode",
"type": "java.lang.Boolean",
@@ -175,6 +231,13 @@
"sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.component.docling.validate-after-inactivity",
+ "type": "java.lang.Integer",
+ "description": "Validate connections after inactivity in milliseconds",
+ "sourceType":
"org.apache.camel.component.docling.springboot.DoclingComponentConfiguration",
+ "defaultValue": 2000
+ },
{
"name": "camel.component.docling.working-directory",
"type": "java.lang.String",
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 10e59808580..43921756c5c 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
@@ -108,6 +108,19 @@ public class DoclingComponentConfiguration
* etc.
*/
private Boolean autowiredEnabled = true;
+ /**
+ * Connection request timeout in milliseconds (timeout when requesting
+ * connection from pool)
+ */
+ private Integer connectionRequestTimeout = 30000;
+ /**
+ * Connection timeout in milliseconds
+ */
+ private Integer connectionTimeout = 30000;
+ /**
+ * Time to live for connections in milliseconds (-1 for infinite)
+ */
+ private Long connectionTimeToLive = -1L;
/**
* Docling-serve API convert endpoint path
*/
@@ -116,14 +129,38 @@ public class DoclingComponentConfiguration
* Path to Docling Python executable or command
*/
private String doclingCommand;
+ /**
+ * Enable eviction of idle connections from the pool
+ */
+ private Boolean evictIdleConnections = true;
+ /**
+ * Maximum connections per route in the connection pool
+ */
+ private Integer maxConnectionsPerRoute = 10;
+ /**
+ * Maximum idle time for connections in milliseconds before eviction
+ */
+ private Long maxIdleTime = 60000L;
+ /**
+ * Maximum total connections in the connection pool
+ */
+ private Integer maxTotalConnections = 20;
/**
* Timeout for Docling process execution in milliseconds
*/
private Long processTimeout = 30000L;
+ /**
+ * Socket timeout in milliseconds
+ */
+ private Integer socketTimeout = 60000;
/**
* Use asynchronous conversion mode (docling-serve API only)
*/
private Boolean useAsyncMode = false;
+ /**
+ * Validate connections after inactivity in milliseconds
+ */
+ private Integer validateAfterInactivity = 2000;
/**
* Working directory for Docling execution
*/
@@ -257,6 +294,30 @@ public class DoclingComponentConfiguration
this.autowiredEnabled = autowiredEnabled;
}
+ public Integer getConnectionRequestTimeout() {
+ return connectionRequestTimeout;
+ }
+
+ public void setConnectionRequestTimeout(Integer connectionRequestTimeout) {
+ this.connectionRequestTimeout = connectionRequestTimeout;
+ }
+
+ public Integer getConnectionTimeout() {
+ return connectionTimeout;
+ }
+
+ public void setConnectionTimeout(Integer connectionTimeout) {
+ this.connectionTimeout = connectionTimeout;
+ }
+
+ public Long getConnectionTimeToLive() {
+ return connectionTimeToLive;
+ }
+
+ public void setConnectionTimeToLive(Long connectionTimeToLive) {
+ this.connectionTimeToLive = connectionTimeToLive;
+ }
+
public String getConvertEndpoint() {
return convertEndpoint;
}
@@ -273,6 +334,38 @@ public class DoclingComponentConfiguration
this.doclingCommand = doclingCommand;
}
+ public Boolean getEvictIdleConnections() {
+ return evictIdleConnections;
+ }
+
+ public void setEvictIdleConnections(Boolean evictIdleConnections) {
+ this.evictIdleConnections = evictIdleConnections;
+ }
+
+ public Integer getMaxConnectionsPerRoute() {
+ return maxConnectionsPerRoute;
+ }
+
+ public void setMaxConnectionsPerRoute(Integer maxConnectionsPerRoute) {
+ this.maxConnectionsPerRoute = maxConnectionsPerRoute;
+ }
+
+ public Long getMaxIdleTime() {
+ return maxIdleTime;
+ }
+
+ public void setMaxIdleTime(Long maxIdleTime) {
+ this.maxIdleTime = maxIdleTime;
+ }
+
+ public Integer getMaxTotalConnections() {
+ return maxTotalConnections;
+ }
+
+ public void setMaxTotalConnections(Integer maxTotalConnections) {
+ this.maxTotalConnections = maxTotalConnections;
+ }
+
public Long getProcessTimeout() {
return processTimeout;
}
@@ -281,6 +374,14 @@ public class DoclingComponentConfiguration
this.processTimeout = processTimeout;
}
+ public Integer getSocketTimeout() {
+ return socketTimeout;
+ }
+
+ public void setSocketTimeout(Integer socketTimeout) {
+ this.socketTimeout = socketTimeout;
+ }
+
public Boolean getUseAsyncMode() {
return useAsyncMode;
}
@@ -289,6 +390,14 @@ public class DoclingComponentConfiguration
this.useAsyncMode = useAsyncMode;
}
+ public Integer getValidateAfterInactivity() {
+ return validateAfterInactivity;
+ }
+
+ public void setValidateAfterInactivity(Integer validateAfterInactivity) {
+ this.validateAfterInactivity = validateAfterInactivity;
+ }
+
public String getWorkingDirectory() {
return workingDirectory;
}