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 bf5b7ca84e0 Regen
bf5b7ca84e0 is described below
commit bf5b7ca84e07d5b84b014535c800e056b60775d9
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Sep 15 22:43:27 2026 +0200
Regen
---
.../catalog/beans/JdbcKeyValueRepository.json | 2 +-
.../catalog/beans/JpaKeyValueRepository.json | 2 +-
.../catalog/beans/KafkaKeyValueRepository.json | 2 +-
.../camel/springboot/catalog/components/minio.json | 2 +-
.../camel/springboot/catalog/components/opa.json | 4 +-
.../springboot/catalog/components/sql-stored.json | 8 ++--
.../camel/springboot/catalog/components/sql.json | 8 ++--
.../camel-opa-starter/src/main/docs/opa.json | 2 +-
.../opa/springboot/OpaComponentConfiguration.java | 10 +++--
.../camel-sql-starter/src/main/docs/sql.json | 14 +++++++
.../sql/springboot/SqlComponentConfiguration.java | 15 ++++++++
.../SqlStoredComponentConfiguration.java | 16 ++++++++
.../modules/ROOT/pages/starters/opa.adoc | 2 +-
.../modules/ROOT/pages/starters/sql.adoc | 4 +-
tooling/camel-spring-boot-bom/pom.xml | 45 ++++++++++++++++++++++
15 files changed, 118 insertions(+), 18 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JdbcKeyValueRepository.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JdbcKeyValueRepository.json
index 8fc8bd33c96..2b3b8c1825a 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JdbcKeyValueRepository.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JdbcKeyValueRepository.json
@@ -10,7 +10,7 @@
"groupId": "org.apache.camel.springboot",
"artifactId": "camel-sql-starter",
"version": "4.23.0-SNAPSHOT",
- "properties": { "jdbcTemplate": { "index": 0, "kind": "property",
"displayName": "Jdbc Template", "required": true, "type": "object", "javaType":
"org.springframework.jdbc.core.JdbcTemplate", "deprecated": false, "autowired":
false, "secret": false, "description": "The Spring JdbcTemplate to use for
connecting to the database" }, "transactionTemplate": { "index": 1, "kind":
"property", "displayName": "Transaction Template", "required": true, "type":
"object", "javaType": "org.springf [...]
+ "properties": { "jdbcTemplate": { "index": 0, "kind": "property",
"displayName": "Jdbc Template", "required": true, "type": "object", "javaType":
"org.springframework.jdbc.core.JdbcTemplate", "deprecated": false, "autowired":
false, "secret": false, "description": "The Spring JdbcTemplate to use for
connecting to the database" }, "transactionTemplate": { "index": 1, "kind":
"property", "displayName": "Transaction Template", "required": true, "type":
"object", "javaType": "org.springf [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JpaKeyValueRepository.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JpaKeyValueRepository.json
index 5f79d97c2c6..d32a97e2529 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JpaKeyValueRepository.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/JpaKeyValueRepository.json
@@ -10,7 +10,7 @@
"groupId": "org.apache.camel.springboot",
"artifactId": "camel-jpa-starter",
"version": "4.23.0-SNAPSHOT",
- "properties": { "entityManagerFactory": { "index": 0, "kind": "property",
"displayName": "Entity Manager Factory", "required": true, "type": "object",
"javaType": "jakarta.persistence.EntityManagerFactory", "deprecated": false,
"autowired": false, "secret": false, "description": "The JPA
EntityManagerFactory to use" }, "transactionStrategy": { "index": 1, "kind":
"property", "displayName": "Transaction Strategy", "required": false, "type":
"object", "javaType": "org.apache.camel.comp [...]
+ "properties": { "entityManagerFactory": { "index": 0, "kind": "property",
"displayName": "Entity Manager Factory", "required": true, "type": "object",
"javaType": "jakarta.persistence.EntityManagerFactory", "deprecated": false,
"autowired": false, "secret": false, "description": "The JPA
EntityManagerFactory to use" }, "transactionStrategy": { "index": 1, "kind":
"property", "displayName": "Transaction Strategy", "required": false, "type":
"object", "javaType": "org.apache.camel.comp [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/KafkaKeyValueRepository.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/KafkaKeyValueRepository.json
index 506cd721d79..a4df3fdfc7f 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/KafkaKeyValueRepository.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/beans/KafkaKeyValueRepository.json
@@ -10,7 +10,7 @@
"groupId": "org.apache.camel.springboot",
"artifactId": "camel-kafka-starter",
"version": "4.23.0-SNAPSHOT",
- "properties": { "consumerConfig": { "index": 0, "kind": "property",
"displayName": "Consumer Config", "required": false, "type": "object",
"javaType": "java.util.Properties", "deprecated": false, "autowired": false,
"secret": false, "description": "Custom properties for the Kafka consumer" },
"producerConfig": { "index": 1, "kind": "property", "displayName": "Producer
Config", "required": false, "type": "object", "javaType":
"java.util.Properties", "deprecated": false, "autowired": f [...]
+ "properties": { "consumerConfig": { "index": 0, "kind": "property",
"displayName": "Consumer Config", "required": false, "type": "object",
"javaType": "java.util.Properties", "deprecated": false, "autowired": false,
"secret": false, "description": "Custom properties for the Kafka consumer" },
"producerConfig": { "index": 1, "kind": "property", "displayName": "Producer
Config", "required": false, "type": "object", "javaType":
"java.util.Properties", "deprecated": false, "autowired": f [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/minio.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/minio.json
index 4d6d63aef2f..b6dbb960c31 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/minio.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/minio.json
@@ -4,7 +4,7 @@
"name": "minio",
"title": "Minio",
"description": "Store and retrieve objects from Minio Storage Service
using Minio SDK.",
- "deprecated": false,
+ "deprecated": true,
"firstVersion": "3.5.0",
"label": "cloud,file",
"javaType": "org.apache.camel.component.minio.MinioComponent",
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/opa.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/opa.json
index 3e543ef914e..cdabdeede3d 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/opa.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/opa.json
@@ -27,7 +27,7 @@
"allowKey": { "index": 0, "kind": "property", "displayName": "Allow Key",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "allow", "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "The key to read the allow\/deny verdict from
when the policy returns an object rather than a plain b [...]
"configuration": { "index": 1, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "org.apache.camel.component.opa.OpaConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
component configuration." },
"includeBody": { "index": 2, "kind": "property", "displayName": "Include
Body", "group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Whether to send the message body to OPA as
part of the input document. Disabled by default: bodies can b [...]
- "includeHeaders": { "index": 3, "kind": "property", "displayName":
"Include Headers", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "*", "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Comma-separated list of message header names
to send to OPA in the input document. The defau [...]
+ "includeHeaders": { "index": 3, "kind": "property", "displayName":
"Include Headers", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "*", "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Comma-separated list of message header names
to send to OPA in the input document. The defau [...]
"includeProperties": { "index": 4, "kind": "property", "displayName":
"Include Properties", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Comma-separated list of exchange property
names to send to OPA in the input document, or {code } for all of [...]
"lazyStartProducer": { "index": 5, "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 [...]
"serverUrl": { "index": 6, "kind": "property", "displayName": "Server
Url", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "http:\/\/localhost:8181",
"configurationClass": "org.apache.camel.component.opa.OpaConfiguration",
"configurationField": "configuration", "description": "The base URL of the OPA
server, without the {code \/v1\/data} suffix. The defaul [...]
@@ -47,7 +47,7 @@
"policyPath": { "index": 0, "kind": "path", "displayName": "Policy Path",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Path of the Rego rule head
to evaluate, relative to the OPA data document. For a rule named allow in a
policy declaring package authz.orders, this is authz\/orders\/allow. The path
is taken from the endpoint only: i [...]
"allowKey": { "index": 1, "kind": "parameter", "displayName": "Allow Key",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "allow", "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "The key to read the allow\/deny verdict from
when the policy returns an object rather than a plain [...]
"includeBody": { "index": 2, "kind": "parameter", "displayName": "Include
Body", "group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Whether to send the message body to OPA as
part of the input document. Disabled by default: bodies can [...]
- "includeHeaders": { "index": 3, "kind": "parameter", "displayName":
"Include Headers", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "*", "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Comma-separated list of message header names
to send to OPA in the input document. The defa [...]
+ "includeHeaders": { "index": 3, "kind": "parameter", "displayName":
"Include Headers", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "*", "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Comma-separated list of message header names
to send to OPA in the input document. The defa [...]
"includeProperties": { "index": 4, "kind": "parameter", "displayName":
"Include Properties", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.opa.OpaConfiguration", "configurationField":
"configuration", "description": "Comma-separated list of exchange property
names to send to OPA in the input document, or {code } for all o [...]
"serverUrl": { "index": 5, "kind": "parameter", "displayName": "Server
Url", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "http:\/\/localhost:8181",
"configurationClass": "org.apache.camel.component.opa.OpaConfiguration",
"configurationField": "configuration", "description": "The base URL of the OPA
server, without the {code \/v1\/data} suffix. The defau [...]
"lazyStartProducer": { "index": 6, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "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 produc [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql-stored.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql-stored.json
index 203db854ce1..578ee353285 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql-stored.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql-stored.json
@@ -27,10 +27,11 @@
"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 database
on startup. This information is gathered via reflection on the DataSource, and
is vendor specific. This option can be used [...]
+ "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 [...]
+ "allowTemplateFromHeader": { "index": 4, "kind": "property",
"displayName": "Allow Template From Header", "group": "security", "label":
"producer,security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"security": "insecure:dev", "insecureValue": "true", "defaultValue": false,
"description": "Whether to allow overriding the endpoint-configured
stored-procedure template with the CamelSqlStoredTemplate header. Di [...]
},
"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"
},
+ "CamelSqlStoredTemplate": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The stored-procedure template to execute. This
header is ignored unless the endpoint enables allowTemplateFromHeader=true
(disabled by default); when enabled it overrides the endpoint-configured
template.", "constantName": "org.apa [...]
"CamelSqlStoredParameters": { "index": 1, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"Iterator", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The parameters", "constantName":
"org.apache.camel.component.sql.stored.SqlStoredConstants#SQL_STORED_PARAMETERS"
},
"CamelSqlStoredUpdateCount": { "index": 2, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Integer", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "important": true, "description": "The update count",
"constantName":
"org.apache.camel.component.sql.stored.SqlStoredConstants#SQL_STORED_UPDATE_COUNT"
}
},
@@ -43,6 +44,7 @@
"outputHeader": { "index": 5, "kind": "parameter", "displayName": "Output
Header", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Store the template result in a header instead
of the message body. By default, outputHeader == null and the template result
is stored in the message body, any existing content in the message body is
discarded. If outputHeader is [...]
"useMessageBodyForTemplate": { "index": 6, "kind": "parameter",
"displayName": "Use Message Body For Template", "group": "producer", "label":
"", "required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to use the message body as the stored procedure
template and then headers for parameters. If this option is enabled then the
template in the uri is not used." },
"lazyStartProducer": { "index": 7, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "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 produc [...]
- "templateOptions": { "index": 8, "kind": "parameter", "displayName":
"Template Options", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.Object>", "prefix": "template.", "multiValue": true, "deprecated":
false, "autowired": false, "secret": false, "description": "Configures the
Spring JdbcTemplate with the key\/values from the Map. This is a multi-value
option with prefix: template." }
+ "templateOptions": { "index": 8, "kind": "parameter", "displayName":
"Template Options", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.Object>", "prefix": "template.", "multiValue": true, "deprecated":
false, "autowired": false, "secret": false, "description": "Configures the
Spring JdbcTemplate with the key\/values from the Map. This is a multi-value
option with prefix: template." },
+ "allowTemplateFromHeader": { "index": 9, "kind": "parameter",
"displayName": "Allow Template From Header", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "security":
"insecure:dev", "insecureValue": "true", "defaultValue": false, "description":
"Whether to allow overriding the endpoint-configured stored-procedure template
with the CamelSqlStoredTemplate header. Disabled b [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
index 76d4f4f8abb..f3c8064aa3c 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/sql.json
@@ -34,10 +34,11 @@
"serviceLocationEnabled": { "index": 7, "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 [...]
"usePlaceholder": { "index": 8, "kind": "property", "displayName": "Use
Placeholder", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Sets whether to
use placeholder and replace all placeholder characters with sign in the SQL
queries. This option is default true" },
"healthCheckConsumerEnabled": { "index": 9, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
- "healthCheckProducerEnabled": { "index": 10, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
+ "healthCheckProducerEnabled": { "index": 10, "kind": "property",
"displayName": "Health Check Producer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all producer based health checks
from this component. Notice: Camel has by default disabled all producer based
health-checks. You can turn on produce [...]
+ "allowQueryFromHeader": { "index": 11, "kind": "property", "displayName":
"Allow Query From Header", "group": "security", "label": "producer,security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "security": "insecure:dev",
"insecureValue": "true", "defaultValue": false, "description": "Whether to
allow overriding the endpoint-configured SQL query with the CamelSqlQuery
header. Disabled by default; enable it o [...]
},
"headers": {
- "CamelSqlQuery": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Query to execute. This query takes precedence
over the query specified in the endpoint URI. Note that query parameters in the
header are represented by a instead of a pass:# symbol", "constantName":
"org.apache.camel.component.sql.SqlConsta [...]
+ "CamelSqlQuery": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"String", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "Query to execute. This header is ignored
unless the endpoint enables allowQueryFromHeader=true (disabled by default);
when enabled it takes precedence over the query specified in the endpoint URI.
Note that query parameters in the header ar [...]
"CamelSqlUpdateCount": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Integer", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "important": true, "description": "The number of rows updated
for update operations, returned as an Integer object. This header is not
provided when using outputType=StreamList.", "constantName":
"org.apache.camel.component.sql.SqlConstants#SQL_UPDA [...]
"CamelSqlRowCount": { "index": 2, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Integer", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "important": true, "description": "The number of rows returned
for select operations, returned as an Integer object. This header is not
provided when using outputType=StreamList.", "constantName":
"org.apache.camel.component.sql.SqlConstants#SQL_ROW_COUNT" },
"CamelSqlRetrieveGeneratedKeys": { "index": 3, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "Boolean", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "defaultValue": "false", "description": "Set its value
to true to retrieve generated keys", "constantName":
"org.apache.camel.component.sql.SqlConstants#SQL_RETRIEVE_GENERATED_KEYS" },
@@ -96,6 +97,7 @@
"schedulerProperties": { "index": 45, "kind": "parameter", "displayName":
"Scheduler Properties", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "prefix": "scheduler.",
"multiValue": true, "deprecated": false, "autowired": false, "secret": false,
"description": "To configure additional properties when using a custom
scheduler or any of the Quartz, Spring based scheduler. This i [...]
"startScheduler": { "index": 46, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
"timeUnit": { "index": 47, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "enum", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
- "useFixedDelay": { "index": 48, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." }
+ "useFixedDelay": { "index": 48, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
+ "allowQueryFromHeader": { "index": 49, "kind": "parameter", "displayName":
"Allow Query From Header", "group": "security", "label": "producer,security",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "security": "insecure:dev",
"insecureValue": "true", "defaultValue": false, "description": "Whether to
allow overriding the endpoint-configured SQL query with the CamelSqlQuery
header. Disabled by default; enable it [...]
}
}
diff --git a/components-starter/camel-opa-starter/src/main/docs/opa.json
b/components-starter/camel-opa-starter/src/main/docs/opa.json
index e9d536cc68a..916774fc6f2 100644
--- a/components-starter/camel-opa-starter/src/main/docs/opa.json
+++ b/components-starter/camel-opa-starter/src/main/docs/opa.json
@@ -81,7 +81,7 @@
{
"name": "camel.component.opa.include-headers",
"type": "java.lang.String",
- "description": "Comma-separated list of message header names to send to
OPA in the input document. The default of {code } sends every header. Narrow it
when the policy only needs a few headers, or when the message carries headers
that should not leave the JVM.",
+ "description": "Comma-separated list of message header names to send to
OPA in the input document. The default of {code } sends every header except
those that carry a caller credential verbatim - Authorization, {code
Proxy-Authorization}, Cookie and {code Set-Cookie} - which are withheld because
OPA's decision logging ships the whole input document, often off the box. A
policy that genuinely needs one can still have it by naming the header here.
Narrow the list when the policy only [...]
"sourceType":
"org.apache.camel.component.opa.springboot.OpaComponentConfiguration",
"defaultValue": "*"
},
diff --git
a/components-starter/camel-opa-starter/src/main/java/org/apache/camel/component/opa/springboot/OpaComponentConfiguration.java
b/components-starter/camel-opa-starter/src/main/java/org/apache/camel/component/opa/springboot/OpaComponentConfiguration.java
index 1885b4b2f68..76d6d7b7652 100644
---
a/components-starter/camel-opa-starter/src/main/java/org/apache/camel/component/opa/springboot/OpaComponentConfiguration.java
+++
b/components-starter/camel-opa-starter/src/main/java/org/apache/camel/component/opa/springboot/OpaComponentConfiguration.java
@@ -58,9 +58,13 @@ public class OpaComponentConfiguration
private Boolean includeBody = false;
/**
* Comma-separated list of message header names to send to OPA in the input
- * document. The default of {code } sends every header. Narrow it when the
- * policy only needs a few headers, or when the message carries headers
that
- * should not leave the JVM.
+ * document. The default of {code } sends every header except those that
+ * carry a caller credential verbatim - Authorization, {code
+ * Proxy-Authorization}, Cookie and {code Set-Cookie} - which are withheld
+ * because OPA's decision logging ships the whole input document, often off
+ * the box. A policy that genuinely needs one can still have it by naming
+ * the header here. Narrow the list when the policy only needs a few
+ * headers.
*/
private String includeHeaders = "*";
/**
diff --git a/components-starter/camel-sql-starter/src/main/docs/sql.json
b/components-starter/camel-sql-starter/src/main/docs/sql.json
index 510debc6b97..c53610ee199 100644
--- a/components-starter/camel-sql-starter/src/main/docs/sql.json
+++ b/components-starter/camel-sql-starter/src/main/docs/sql.json
@@ -24,6 +24,13 @@
}
],
"properties": [
+ {
+ "name": "camel.component.sql-stored.allow-template-from-header",
+ "type": "java.lang.Boolean",
+ "description": "Whether to allow overriding the endpoint-configured
stored-procedure template with the CamelSqlStoredTemplate header. Disabled by
default; a header-supplied template is resolved with placeholders only, never
as a file:\/http: resource. This is the default for all sql-stored endpoints
and can be overridden per endpoint.",
+ "sourceType":
"org.apache.camel.component.sql.stored.springboot.SqlStoredComponentConfiguration",
+ "defaultValue": false
+ },
{
"name": "camel.component.sql-stored.autowired-enabled",
"type": "java.lang.Boolean",
@@ -56,6 +63,13 @@
"sourceType":
"org.apache.camel.component.sql.stored.springboot.SqlStoredComponentConfiguration",
"defaultValue": true
},
+ {
+ "name": "camel.component.sql.allow-query-from-header",
+ "type": "java.lang.Boolean",
+ "description": "Whether to allow overriding the endpoint-configured SQL
query with the CamelSqlQuery header. Disabled by default; enable it only when
the header source is trusted, since it lets a message choose the executed SQL.
This is the default for all sql endpoints and can be overridden per endpoint.",
+ "sourceType":
"org.apache.camel.component.sql.springboot.SqlComponentConfiguration",
+ "defaultValue": false
+ },
{
"name": "camel.component.sql.autowired-enabled",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
b/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
index b1b218b30d7..3997b985228 100644
---
a/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
+++
b/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
@@ -120,6 +120,13 @@ public class SqlComponentConfiguration
* camel.health.producersEnabled=true.
*/
private Boolean healthCheckProducerEnabled = true;
+ /**
+ * Whether to allow overriding the endpoint-configured SQL query with the
+ * CamelSqlQuery header. Disabled by default; enable it only when the
header
+ * source is trusted, since it lets a message choose the executed SQL. This
+ * is the default for all sql endpoints and can be overridden per endpoint.
+ */
+ private Boolean allowQueryFromHeader = false;
public DataSource getDataSource() {
return dataSource;
@@ -208,4 +215,12 @@ public class SqlComponentConfiguration
public void setHealthCheckProducerEnabled(Boolean
healthCheckProducerEnabled) {
this.healthCheckProducerEnabled = healthCheckProducerEnabled;
}
+
+ public Boolean getAllowQueryFromHeader() {
+ return allowQueryFromHeader;
+ }
+
+ public void setAllowQueryFromHeader(Boolean allowQueryFromHeader) {
+ this.allowQueryFromHeader = allowQueryFromHeader;
+ }
}
\ No newline at end of file
diff --git
a/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
b/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
index 780f807645c..ff527ab01fb 100644
---
a/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
+++
b/components-starter/camel-sql-starter/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
@@ -66,6 +66,14 @@ public class SqlStoredComponentConfiguration
* and is vendor specific. This option can be used to turn this off.
*/
private Boolean serviceLocationEnabled = true;
+ /**
+ * Whether to allow overriding the endpoint-configured stored-procedure
+ * template with the CamelSqlStoredTemplate header. Disabled by default; a
+ * header-supplied template is resolved with placeholders only, never as a
+ * file:/http: resource. This is the default for all sql-stored endpoints
+ * and can be overridden per endpoint.
+ */
+ private Boolean allowTemplateFromHeader = false;
public DataSource getDataSource() {
return dataSource;
@@ -98,4 +106,12 @@ public class SqlStoredComponentConfiguration
public void setServiceLocationEnabled(Boolean serviceLocationEnabled) {
this.serviceLocationEnabled = serviceLocationEnabled;
}
+
+ public Boolean getAllowTemplateFromHeader() {
+ return allowTemplateFromHeader;
+ }
+
+ public void setAllowTemplateFromHeader(Boolean allowTemplateFromHeader) {
+ this.allowTemplateFromHeader = allowTemplateFromHeader;
+ }
}
\ No newline at end of file
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/opa.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/opa.adoc
index 80513183eae..b457d37eb87 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/opa.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/opa.adoc
@@ -37,7 +37,7 @@ The starter supports 14 options, which are listed below.
| camel.component.opa.health-check-consumer-enabled | Used for enabling or
disabling all consumer based health checks from this component | true | Boolean
| camel.component.opa.health-check-producer-enabled | Used for enabling or
disabling all producer based health checks from this component. Notice: Camel
has by default disabled all producer based health-checks. You can turn on
producer checks globally by setting camel.health.producersEnabled=true. | true
| Boolean
| camel.component.opa.include-body | Whether to send the message body to OPA
as part of the input document. Disabled by default: bodies can be large or
streaming, and most authorization decisions only need headers. When enabled on
a streaming body, enable stream caching so that the body is still readable by
the rest of the route. | false | Boolean
-| camel.component.opa.include-headers | Comma-separated list of message header
names to send to OPA in the input document. The default of \{code } sends every
header. Narrow it when the policy only needs a few headers, or when the message
carries headers that should not leave the JVM. | * | String
+| camel.component.opa.include-headers | Comma-separated list of message header
names to send to OPA in the input document. The default of \{code } sends every
header except those that carry a caller credential verbatim - Authorization,
\{code Proxy-Authorization}, Cookie and \{code Set-Cookie} - which are withheld
because OPA's decision logging ships the whole input document, often off the
box. A policy that genuinely needs one can still have it by naming the header
here. Narrow the list [...]
| camel.component.opa.include-properties | Comma-separated list of exchange
property names to send to OPA in the input document, or \{code } for all of
them. Empty by default, so no properties are sent unless asked for. This is
where the authentication components put the identity they verified: \{code
camel-keycloak} stores the access token and its subject as exchange properties
and prefers them over the equivalent headers, precisely because headers can be
set by the caller. List those p [...]
| camel.component.opa.lazy-start-producer | 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 during starting and cause the route to fail being started. By deferring
this startup to be lazy then the startup failure can be handled during routing
messages via Camel's routing error handlers. Beware that when the first message
is processed then cre [...]
| camel.component.opa.opa-client | An existing OPAClient to use. When set,
serverUrl and bearerToken are ignored. The option is a com.styra.opa.OPAClient
type. | | OPAClient
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/sql.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/sql.adoc
index 6eb79cdd30e..9d4ecd4e6d5 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/sql.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/sql.adoc
@@ -24,15 +24,17 @@ Please refer to the above links for usage and configuration
details.
== Spring Boot Auto-Configuration
-The starter supports 15 options, which are listed below.
+The starter supports 17 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
+| camel.component.sql-stored.allow-template-from-header | Whether to allow
overriding the endpoint-configured stored-procedure template with the
CamelSqlStoredTemplate header. Disabled by default; a header-supplied template
is resolved with placeholders only, never as a file:/http: resource. This is
the default for all sql-stored endpoints and can be overridden per endpoint. |
false | Boolean
| camel.component.sql-stored.autowired-enabled | 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 type, which then gets configured on the component. This
can be used for automatic configuring JDBC data sources, JMS connection
factories, AWS Clients, etc. | true | Boolean
| camel.component.sql-stored.enabled | Whether to enable auto configuration of
the sql-stored component. This is enabled by default. | | Boolean
| camel.component.sql-stored.lazy-start-producer | 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 during starting and cause the route to fail being started. By
deferring this startup to be lazy then the startup failure can be handled
during routing messages via Camel's routing error handlers. Beware that when
the first message is processed t [...]
| camel.component.sql-stored.service-location-enabled | 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. | true | Boolean
+| camel.component.sql.allow-query-from-header | Whether to allow overriding
the endpoint-configured SQL query with the CamelSqlQuery header. Disabled by
default; enable it only when the header source is trusted, since it lets a
message choose the executed SQL. This is the default for all sql endpoints and
can be overridden per endpoint. | false | Boolean
| camel.component.sql.autowired-enabled | 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 type, which then gets configured on the component. This can be used
for automatic configuring JDBC data sources, JMS connection factories, AWS
Clients, etc. | true | Boolean
| camel.component.sql.batch-auto-commit-disabled | Whether to optimize batch
by turning off auto-commit which can dramatic improve performance, and instead
execute as a manual commit after the entire batch operation is complete | true
| Boolean
| camel.component.sql.bridge-error-handler | Allows for bridging the consumer
to the Camel routing Error Handler, which mean any exceptions (if possible)
occurred while the Camel consumer is trying to pickup incoming messages, or the
likes, will now be processed as a message and handled by the routing Error
Handler. Important: This is only possible if the 3rd party component allows
Camel to be alerted if an exception was thrown. Some components handle this
internally only, and therefore [...]
diff --git a/tooling/camel-spring-boot-bom/pom.xml
b/tooling/camel-spring-boot-bom/pom.xml
index fee11dc2a06..36d2193d98d 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -53,6 +53,11 @@
<artifactId>camel-ai-observability-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-ai-resource-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ai-tool-starter</artifactId>
@@ -418,6 +423,11 @@
<artifactId>camel-caffeine-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-camunda-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-cassandraql-starter</artifactId>
@@ -703,6 +713,11 @@
<artifactId>camel-endpointdsl-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-event-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-exec-starter</artifactId>
@@ -978,6 +993,11 @@
<artifactId>camel-ibm-watsonx-ai-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-ibm-watsonx-data-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-ical-starter</artifactId>
@@ -1288,6 +1308,11 @@
<artifactId>camel-langchain4j-embeddingstore-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-langchain4j-ingest-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-langchain4j-tokenizer-starter</artifactId>
@@ -1588,6 +1613,11 @@
<artifactId>camel-pgevent-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-pgvector-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-pinecone-starter</artifactId>
@@ -1763,6 +1793,11 @@
<artifactId>camel-servlet-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-shell-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-shiro-starter</artifactId>
@@ -1818,6 +1853,11 @@
<artifactId>camel-solr-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-spiffe-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-splunk-hec-starter</artifactId>
@@ -1933,6 +1973,11 @@
<artifactId>camel-ssh-starter</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-state-store-starter</artifactId>
+ <version>4.23.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-stax-starter</artifactId>