This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch sql-fix-errors-doc in repository https://gitbox.apache.org/repos/asf/camel.git
commit 41985ae1dc60bd967dc9f8aac869c9c302d8630a Author: Andrea Cosentino <[email protected]> AuthorDate: Thu Jan 8 10:49:06 2026 +0100 Camel-sql: Fix some documentation errors and regen Signed-off-by: Andrea Cosentino <[email protected]> --- .../resources/org/apache/camel/catalog/components/sql-stored.json | 2 +- .../org/apache/camel/component/sql/stored/sql-stored.json | 2 +- .../java/org/apache/camel/component/sql/DefaultSqlEndpoint.java | 4 ++-- .../main/java/org/apache/camel/component/sql/SqlComponent.java | 4 ++-- .../org/apache/camel/component/sql/stored/SqlStoredComponent.java | 8 ++++---- .../builder/component/dsl/SqlStoredComponentBuilderFactory.java | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sql-stored.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sql-stored.json index 1a3d66f94658..67d2abc2cc2b 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sql-stored.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sql-stored.json @@ -27,7 +27,7 @@ "dataSource": { "index": 0, "kind": "property", "displayName": "Data Source", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "javax.sql.DataSource", "deprecated": false, "autowired": true, "secret": false, "description": "Sets the DataSource to use to communicate with the database." }, "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 [...] "autowiredEnabled": { "index": 2, "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 [...] - "serviceLocationEnabled": { "index": 3, "kind": "property", "displayName": "Service Location Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to detect the network address location of the JMS broker on startup. This information is gathered via reflection on the ConnectionFactory, and is vendor specific. This option can [...] + "serviceLocationEnabled": { "index": 3, "kind": "property", "displayName": "Service Location Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to detect the network address location of the database on startup. This information is gathered via reflection on the DataSource, and is vendor specific. This option can be used [...] }, "headers": { "CamelSqlStoredTemplate": { "index": 0, "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The template", "constantName": "org.apache.camel.component.sql.stored.SqlStoredConstants#SQL_STORED_TEMPLATE" }, diff --git a/components/camel-sql/src/generated/resources/META-INF/org/apache/camel/component/sql/stored/sql-stored.json b/components/camel-sql/src/generated/resources/META-INF/org/apache/camel/component/sql/stored/sql-stored.json index 1a3d66f94658..67d2abc2cc2b 100644 --- a/components/camel-sql/src/generated/resources/META-INF/org/apache/camel/component/sql/stored/sql-stored.json +++ b/components/camel-sql/src/generated/resources/META-INF/org/apache/camel/component/sql/stored/sql-stored.json @@ -27,7 +27,7 @@ "dataSource": { "index": 0, "kind": "property", "displayName": "Data Source", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "javax.sql.DataSource", "deprecated": false, "autowired": true, "secret": false, "description": "Sets the DataSource to use to communicate with the database." }, "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 [...] "autowiredEnabled": { "index": 2, "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 [...] - "serviceLocationEnabled": { "index": 3, "kind": "property", "displayName": "Service Location Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to detect the network address location of the JMS broker on startup. This information is gathered via reflection on the ConnectionFactory, and is vendor specific. This option can [...] + "serviceLocationEnabled": { "index": 3, "kind": "property", "displayName": "Service Location Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to detect the network address location of the database on startup. This information is gathered via reflection on the DataSource, and is vendor specific. This option can be used [...] }, "headers": { "CamelSqlStoredTemplate": { "index": 0, "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The template", "constantName": "org.apache.camel.component.sql.stored.SqlStoredConstants#SQL_STORED_TEMPLATE" }, diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java index a8565aca61db..93800859f9da 100644 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java +++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java @@ -154,8 +154,8 @@ public abstract class DefaultSqlEndpoint extends DefaultPollingEndpoint implemen } /** - * Whether to detect the network address location of the JMS broker on startup. This information is gathered via - * reflection on the ConnectionFactory, and is vendor specific. This option can be used to turn this off. + * Whether to detect the network address location of the database on startup. This information is gathered via + * reflection on the DataSource, and is vendor specific. This option can be used to turn this off. */ public void setServiceLocationEnabled(boolean serviceLocationEnabled) { this.serviceLocationEnabled = serviceLocationEnabled; diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlComponent.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlComponent.java index 8ff03967d32c..a8495a87aa98 100644 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlComponent.java +++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlComponent.java @@ -184,8 +184,8 @@ public class SqlComponent extends HealthCheckComponent { } /** - * Whether to detect the network address location of the JMS broker on startup. This information is gathered via - * reflection on the ConnectionFactory, and is vendor specific. This option can be used to turn this off. + * Whether to detect the network address location of the database on startup. This information is gathered via + * reflection on the DataSource, and is vendor specific. This option can be used to turn this off. */ public void setServiceLocationEnabled(boolean serviceLocationEnabled) { this.serviceLocationEnabled = serviceLocationEnabled; diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredComponent.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredComponent.java index 4915ed148deb..1acb34c4e0e8 100644 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredComponent.java +++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/SqlStoredComponent.java @@ -34,8 +34,8 @@ public class SqlStoredComponent extends DefaultComponent { @Metadata(autowired = true) private DataSource dataSource; @Metadata(label = "advanced", - description = "Whether to detect the network address location of the JMS broker on startup." - + " This information is gathered via reflection on the ConnectionFactory, and is vendor specific." + description = "Whether to detect the network address location of the database on startup." + + " This information is gathered via reflection on the DataSource, and is vendor specific." + " This option can be used to turn this off.", defaultValue = "true") private boolean serviceLocationEnabled = true; @@ -85,8 +85,8 @@ public class SqlStoredComponent extends DefaultComponent { } /** - * Whether to detect the network address location of the JMS broker on startup. This information is gathered via - * reflection on the ConnectionFactory, and is vendor specific. This option can be used to turn this off. + * Whether to detect the network address location of the database on startup. This information is gathered via + * reflection on the DataSource, and is vendor specific. This option can be used to turn this off. */ public void setServiceLocationEnabled(boolean serviceLocationEnabled) { this.serviceLocationEnabled = serviceLocationEnabled; diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SqlStoredComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SqlStoredComponentBuilderFactory.java index 737a641b57a9..c7de52231409 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SqlStoredComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SqlStoredComponentBuilderFactory.java @@ -114,10 +114,10 @@ public interface SqlStoredComponentBuilderFactory { /** - * Whether to detect the network address location of the JMS broker on + * Whether to detect the network address location of the database on * startup. This information is gathered via reflection on the - * ConnectionFactory, and is vendor specific. This option can be used to - * turn this off. + * DataSource, and is vendor specific. This option can be used to turn + * this off. * * The option is a: <code>boolean</code> type. *
