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 62ea308dda3f camel-stitch: the schema header javaType leaves
StitchSchema unqualified (#30100)
62ea308dda3f is described below
commit 62ea308dda3f4a0bf476915f8b4ab1e1d1b4dfc4
Author: dhairya05 <[email protected]>
AuthorDate: Mon Nov 16 01:39:36 2026 +0530
camel-stitch: the schema header javaType leaves StitchSchema unqualified
(#30100)
---
.../resources/org/apache/camel/catalog/components/stitch.json | 2 +-
.../resources/META-INF/org/apache/camel/component/stitch/stitch.json | 2 +-
.../main/java/org/apache/camel/component/stitch/StitchConstants.java | 2 +-
.../camel/builder/endpoint/dsl/StitchEndpointBuilderFactory.java | 4 +++-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/stitch.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/stitch.json
index 62c262a3983f..cac964018adb 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/stitch.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/stitch.json
@@ -37,7 +37,7 @@
},
"headers": {
"CamelStitchTableName": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "autowired": false, "secret": false,
"description": "The name of the destination table the data is being pushed to.
Table names must be unique in each destination schema, or loading issues will
occur. Note: The number of characters in the table name should be within the
destinations allowed limits or data wi [...]
- "CamelStitchSchema": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"StitchSchema or Map", "deprecated": false, "autowired": false, "secret":
false, "description": "The schema that describes the Stitch message",
"constantName": "org.apache.camel.component.stitch.StitchConstants#SCHEMA" },
+ "CamelStitchSchema": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"org.apache.camel.component.stitch.client.models.StitchSchema or Map",
"deprecated": false, "autowired": false, "secret": false, "description": "The
schema that describes the Stitch message", "constantName":
"org.apache.camel.component.stitch.StitchConstants#SCHEMA" },
"CamelStitchKeyNames": { "index": 2, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Collection<String>", "deprecated": false, "autowired": false, "secret": false,
"description": "A collection of strings representing the Primary Key fields in
the source table. Stitch use these Primary Keys to de-dupe data during loading
If not provided, the table will be loaded in an append-only manner.",
"constantName": "org.apache.camel [...]
"CamelStitchCode": { "index": 3, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Integer", "deprecated": false, "autowired": false, "secret": false,
"description": "HTTP Status code that is returned from Stitch Import HTTP
API.", "constantName": "org.apache.camel.component.stitch.StitchConstants#CODE"
},
"CamelStitchHeaders": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Map<String, Object>", "deprecated": false, "autowired": false, "secret":
false, "description": "HTTP headers that are returned from Stitch Import HTTP
API.", "constantName":
"org.apache.camel.component.stitch.StitchConstants#HEADERS" },
diff --git
a/components/camel-stitch/src/generated/resources/META-INF/org/apache/camel/component/stitch/stitch.json
b/components/camel-stitch/src/generated/resources/META-INF/org/apache/camel/component/stitch/stitch.json
index 62c262a3983f..cac964018adb 100644
---
a/components/camel-stitch/src/generated/resources/META-INF/org/apache/camel/component/stitch/stitch.json
+++
b/components/camel-stitch/src/generated/resources/META-INF/org/apache/camel/component/stitch/stitch.json
@@ -37,7 +37,7 @@
},
"headers": {
"CamelStitchTableName": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "autowired": false, "secret": false,
"description": "The name of the destination table the data is being pushed to.
Table names must be unique in each destination schema, or loading issues will
occur. Note: The number of characters in the table name should be within the
destinations allowed limits or data wi [...]
- "CamelStitchSchema": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"StitchSchema or Map", "deprecated": false, "autowired": false, "secret":
false, "description": "The schema that describes the Stitch message",
"constantName": "org.apache.camel.component.stitch.StitchConstants#SCHEMA" },
+ "CamelStitchSchema": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"org.apache.camel.component.stitch.client.models.StitchSchema or Map",
"deprecated": false, "autowired": false, "secret": false, "description": "The
schema that describes the Stitch message", "constantName":
"org.apache.camel.component.stitch.StitchConstants#SCHEMA" },
"CamelStitchKeyNames": { "index": 2, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Collection<String>", "deprecated": false, "autowired": false, "secret": false,
"description": "A collection of strings representing the Primary Key fields in
the source table. Stitch use these Primary Keys to de-dupe data during loading
If not provided, the table will be loaded in an append-only manner.",
"constantName": "org.apache.camel [...]
"CamelStitchCode": { "index": 3, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Integer", "deprecated": false, "autowired": false, "secret": false,
"description": "HTTP Status code that is returned from Stitch Import HTTP
API.", "constantName": "org.apache.camel.component.stitch.StitchConstants#CODE"
},
"CamelStitchHeaders": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Map<String, Object>", "deprecated": false, "autowired": false, "secret":
false, "description": "HTTP headers that are returned from Stitch Import HTTP
API.", "constantName":
"org.apache.camel.component.stitch.StitchConstants#HEADERS" },
diff --git
a/components/camel-stitch/src/main/java/org/apache/camel/component/stitch/StitchConstants.java
b/components/camel-stitch/src/main/java/org/apache/camel/component/stitch/StitchConstants.java
index e434246297c3..f0ad47b12103 100644
---
a/components/camel-stitch/src/main/java/org/apache/camel/component/stitch/StitchConstants.java
+++
b/components/camel-stitch/src/main/java/org/apache/camel/component/stitch/StitchConstants.java
@@ -28,7 +28,7 @@ public final class StitchConstants {
javaType = "String")
public static final String TABLE_NAME = HEADER_PREFIX + "TableName";
@Metadata(label = "producer", description = "The schema that describes the
Stitch message",
- javaType = "StitchSchema or Map")
+ javaType =
"org.apache.camel.component.stitch.client.models.StitchSchema or Map")
public static final String SCHEMA = HEADER_PREFIX + "Schema";
@Metadata(label = "producer",
description = "A collection of strings representing the Primary
Key fields in the source table. " +
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/StitchEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/StitchEndpointBuilderFactory.java
index 593d360aee0f..f268c8f638c9 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/StitchEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/StitchEndpointBuilderFactory.java
@@ -396,7 +396,9 @@ public interface StitchEndpointBuilderFactory {
/**
* The schema that describes the Stitch message.
*
- * The option is a: {@code StitchSchema or Map} type.
+ * The option is a: {@code
+ * org.apache.camel.component.stitch.client.models.StitchSchema or Map}
+ * type.
*
* Group: producer
*