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
The following commit(s) were added to refs/heads/main by this push:
new ce1a8e60dc09 camel-aws2-textract: the feature-types header javaType
leaves FeatureType unqualified (#30104)
ce1a8e60dc09 is described below
commit ce1a8e60dc09e1a7ef091036d9b4558cb73f4a84
Author: dhairya05 <[email protected]>
AuthorDate: Mon Nov 16 01:39:17 2026 +0530
camel-aws2-textract: the feature-types header javaType leaves FeatureType
unqualified (#30104)
---
.../resources/org/apache/camel/catalog/components/aws2-textract.json | 2 +-
.../org/apache/camel/component/aws2/textract/aws2-textract.json | 2 +-
.../org/apache/camel/component/aws2/textract/Textract2Constants.java | 2 +-
.../camel/builder/endpoint/dsl/Textract2EndpointBuilderFactory.java | 4 +++-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-textract.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-textract.json
index e4f307ca1d90..02fa313a027b 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-textract.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-textract.json
@@ -58,7 +58,7 @@
"CamelAwsTextractJobId": { "index": 4, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "autowired": false, "secret": false,
"description": "The job ID of an async operation. It is set from the response
of the startDocumentTextDetection, startDocumentAnalysis and
startExpenseAnalysis operations, and it is the job ID of the
getDocumentTextDetection, getDocumentAnalysis and getExpenseAnalysis op [...]
"CamelAwsTextractMaxResults": { "index": 5, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The maximum number of results to return in paginated
operations", "constantName":
"org.apache.camel.component.aws2.textract.Textract2Constants#MAX_RESULTS" },
"CamelAwsTextractNextToken": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The next token for pagination in operations that return
multiple pages", "constantName":
"org.apache.camel.component.aws2.textract.Textract2Constants#NEXT_TOKEN" },
- "CamelAwsTextractFeatureTypes": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "List<FeatureType>", "deprecated": false, "autowired": false,
"secret": false, "description": "The feature types of the analyzeDocument and
startDocumentAnalysis operations (TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT):
a list of FeatureType or String values, or a String with comma separated
values. The String values are case-insen [...]
+ "CamelAwsTextractFeatureTypes": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "List<software.amazon.awssdk.services.textract.model.FeatureType>",
"deprecated": false, "autowired": false, "secret": false, "description": "The
feature types of the analyzeDocument and startDocumentAnalysis operations
(TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT): a list of FeatureType or String
values, or a String with comma sep [...]
},
"bodyTypes": {
"producerIn": { "carriers": [ "any" ], "byOption": [ { "option":
"pojoRequest", "value": "true", "carriers": [ "pojo" ] } ], "description": "The
document of detectDocumentText, the default, analyzeDocument and analyzeExpense
when no S3 object is named: an image or a PDF as bytes, a stream or a file; a
Map, a List, a POJO or no body fails. The s3Bucket and s3Object options, or
else the CamelAwsTextractS3Bucket and CamelAwsTextractS3Object headers, name an
S3 object instead, and the st [...]
diff --git
a/components/camel-aws/camel-aws2-textract/src/generated/resources/META-INF/org/apache/camel/component/aws2/textract/aws2-textract.json
b/components/camel-aws/camel-aws2-textract/src/generated/resources/META-INF/org/apache/camel/component/aws2/textract/aws2-textract.json
index e4f307ca1d90..02fa313a027b 100644
---
a/components/camel-aws/camel-aws2-textract/src/generated/resources/META-INF/org/apache/camel/component/aws2/textract/aws2-textract.json
+++
b/components/camel-aws/camel-aws2-textract/src/generated/resources/META-INF/org/apache/camel/component/aws2/textract/aws2-textract.json
@@ -58,7 +58,7 @@
"CamelAwsTextractJobId": { "index": 4, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "autowired": false, "secret": false,
"description": "The job ID of an async operation. It is set from the response
of the startDocumentTextDetection, startDocumentAnalysis and
startExpenseAnalysis operations, and it is the job ID of the
getDocumentTextDetection, getDocumentAnalysis and getExpenseAnalysis op [...]
"CamelAwsTextractMaxResults": { "index": 5, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Integer", "deprecated": false, "autowired": false, "secret":
false, "description": "The maximum number of results to return in paginated
operations", "constantName":
"org.apache.camel.component.aws2.textract.Textract2Constants#MAX_RESULTS" },
"CamelAwsTextractNextToken": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "String", "deprecated": false, "autowired": false, "secret": false,
"description": "The next token for pagination in operations that return
multiple pages", "constantName":
"org.apache.camel.component.aws2.textract.Textract2Constants#NEXT_TOKEN" },
- "CamelAwsTextractFeatureTypes": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "List<FeatureType>", "deprecated": false, "autowired": false,
"secret": false, "description": "The feature types of the analyzeDocument and
startDocumentAnalysis operations (TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT):
a list of FeatureType or String values, or a String with comma separated
values. The String values are case-insen [...]
+ "CamelAwsTextractFeatureTypes": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "List<software.amazon.awssdk.services.textract.model.FeatureType>",
"deprecated": false, "autowired": false, "secret": false, "description": "The
feature types of the analyzeDocument and startDocumentAnalysis operations
(TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT): a list of FeatureType or String
values, or a String with comma sep [...]
},
"bodyTypes": {
"producerIn": { "carriers": [ "any" ], "byOption": [ { "option":
"pojoRequest", "value": "true", "carriers": [ "pojo" ] } ], "description": "The
document of detectDocumentText, the default, analyzeDocument and analyzeExpense
when no S3 object is named: an image or a PDF as bytes, a stream or a file; a
Map, a List, a POJO or no body fails. The s3Bucket and s3Object options, or
else the CamelAwsTextractS3Bucket and CamelAwsTextractS3Object headers, name an
S3 object instead, and the st [...]
diff --git
a/components/camel-aws/camel-aws2-textract/src/main/java/org/apache/camel/component/aws2/textract/Textract2Constants.java
b/components/camel-aws/camel-aws2-textract/src/main/java/org/apache/camel/component/aws2/textract/Textract2Constants.java
index be5cae2e8a12..1a1f8f2b07c4 100644
---
a/components/camel-aws/camel-aws2-textract/src/main/java/org/apache/camel/component/aws2/textract/Textract2Constants.java
+++
b/components/camel-aws/camel-aws2-textract/src/main/java/org/apache/camel/component/aws2/textract/Textract2Constants.java
@@ -46,6 +46,6 @@ public interface Textract2Constants {
description = "The feature types of the analyzeDocument and
startDocumentAnalysis operations (TABLES, FORMS, QUERIES, "
+ "SIGNATURES, LAYOUT): a list of FeatureType or
String values, or a String with comma separated values. "
+ "The String values are case-insensitive. Without
this header TABLES and FORMS are used.",
- javaType = "List<FeatureType>")
+ javaType =
"List<software.amazon.awssdk.services.textract.model.FeatureType>")
String FEATURE_TYPES = "CamelAwsTextractFeatureTypes";
}
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Textract2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Textract2EndpointBuilderFactory.java
index 2a459681fe88..28113c4ca7d0 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Textract2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Textract2EndpointBuilderFactory.java
@@ -736,7 +736,9 @@ public interface Textract2EndpointBuilderFactory {
* values. The String values are case-insensitive. Without this header
* TABLES and FORMS are used.
*
- * The option is a: {@code List<FeatureType>} type.
+ * The option is a: {@code
+ * List<software.amazon.awssdk.services.textract.model.FeatureType>}
+ * type.
*
* Group: producer
*