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 8cb20e7b949 Regen
8cb20e7b949 is described below
commit 8cb20e7b94936f92907a16cadd34d81661a5cb5a
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Oct 16 17:18:43 2026 +0200
Regen
---
.../springboot/catalog/components/language.json | 2 +-
.../springboot/catalog/components/milo-browse.json | 14 ++--
.../springboot/catalog/components/milo-client.json | 16 +++--
.../camel-milo-starter/src/main/docs/milo.json | 38 ++++++++++
.../MiloBrowseComponentConfiguration.java | 55 +++++++++++++++
.../springboot/MiloBrowseComponentConverter.java | 1 +
.../MiloClientComponentConfiguration.java | 55 +++++++++++++++
.../springboot/MiloClientComponentConverter.java | 1 +
components-starter/camel-wasm-starter/pom.xml | 2 +-
.../camel-wasm-starter/src/main/docs/wasm.json | 28 --------
.../springboot/WasmLanguageAutoConfiguration.java | 80 ----------------------
.../wasm/springboot/WasmLanguageConfiguration.java | 50 --------------
...rk.boot.autoconfigure.AutoConfiguration.imports | 2 -
.../modules/ROOT/pages/starters/milo.adoc | 8 ++-
.../modules/ROOT/pages/starters/wasm.adoc | 5 +-
tooling/camel-spring-boot-dependencies/pom.xml | 5 ++
16 files changed, 186 insertions(+), 176 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/language.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/language.json
index ed307f64c90..fe07b095e2b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/language.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/language.json
@@ -33,7 +33,7 @@
"CamelLanguageScript": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String or
Expression", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The script to execute provided in the header.
Takes precedence over script configured on the endpoint.", "constantName":
"org.apache.camel.component.language.LanguageConstants#LANGUAGE_SCRIPT" }
},
"properties": {
- "languageName": { "index": 0, "kind": "path", "displayName": "Language
Name", "group": "producer", "label": "", "required": true, "type": "enum",
"javaType": "java.lang.String", "enum": [ "bean", "constant", "datasonnet",
"exchangeProperty", "file", "groovy", "header", "hl7terser", "java", "joor",
"jq", "js", "jsonpath", "mvel", "ognl", "python", "python3", "quickjs", "ref",
"simple", "spel", "tokenize", "variable", "wasm", "xpath", "xquery",
"xtokenize" ], "deprecated": false, "depr [...]
+ "languageName": { "index": 0, "kind": "path", "displayName": "Language
Name", "group": "producer", "label": "", "required": true, "type": "enum",
"javaType": "java.lang.String", "enum": [ "bean", "constant", "datasonnet",
"exchangeProperty", "file", "groovy", "header", "hl7terser", "java", "joor",
"jq", "js", "jsonpath", "mvel", "ognl", "python", "python3", "quickjs", "ref",
"simple", "spel", "tokenize", "variable", "xpath", "xquery", "xtokenize" ],
"deprecated": false, "deprecationN [...]
"resourceUri": { "index": 1, "kind": "path", "displayName": "Resource
Uri", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "supportFileReference": true,
"description": "Path to the resource, or a reference to lookup a bean in the
Registry to use as the resource" },
"allowContextMapAll": { "index": 2, "kind": "parameter", "displayName":
"Allow Context Map All", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Sets whether the
context map should allow access to all details. By default only the message
body and headers can be accessed. This option can be enabled for full access to
the current Exchange and C [...]
"allowTemplateFromHeader": { "index": 3, "kind": "parameter",
"displayName": "Allow Template From Header", "group": "producer", "label": "",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Whether to allow to use resource template from header or not
(default false). Enabling this allows to specify dynamic templates via message
header. However this can be seen as a potential s [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-browse.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-browse.json
index bbc291c81af..8b6e286e6f6 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-browse.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-browse.json
@@ -49,8 +49,11 @@
"requestTimeout": { "index": 22, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
"sessionName": { "index": 23, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
"sessionTimeout": { "index": 24, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" },
- "password": { "index": 25, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in the [...]
- "username": { "index": 26, "kind": "property", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when th [...]
+ "certificateValidator": { "index": 25, "kind": "property", "displayName":
"Certificate Validator", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.eclipse.milo.opcua.stack.core.security.CertificateValidator",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "A custom validator for
the cer [...]
+ "password": { "index": 26, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in the [...]
+ "trustAllCertificates": { "index": 27, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "security": "insecure:ssl",
"defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Whether to accept any
certificate [...]
+ "trustListDirectory": { "index": 28, "kind": "property", "displayName":
"Trust List Directory", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The directory holding
the trust list used to validate the certificate of the OPC [...]
+ "username": { "index": 29, "kind": "property", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when th [...]
},
"headers": {
"CamelMiloNodeIds": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The node ids.", "constantName":
"org.apache.camel.component.milo.MiloConstants#HEADER_NODE_IDS" }
@@ -87,7 +90,10 @@
"requestTimeout": { "index": 28, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
"sessionName": { "index": 29, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
"sessionTimeout": { "index": 30, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" },
- "password": { "index": 31, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in th [...]
- "username": { "index": 32, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when t [...]
+ "certificateValidator": { "index": 31, "kind": "parameter", "displayName":
"Certificate Validator", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.eclipse.milo.opcua.stack.core.security.CertificateValidator",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "A custom validator for
the ce [...]
+ "password": { "index": 32, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in th [...]
+ "trustAllCertificates": { "index": 33, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "security": "insecure:ssl",
"defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Whether to accept any
certificat [...]
+ "trustListDirectory": { "index": 34, "kind": "parameter", "displayName":
"Trust List Directory", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The directory holding
the trust list used to validate the certificate of the OP [...]
+ "username": { "index": 35, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when t [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-client.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-client.json
index 3fbfaaa7888..ab686b93997 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-client.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/milo-client.json
@@ -50,8 +50,11 @@
"requestTimeout": { "index": 23, "kind": "property", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
"sessionName": { "index": 24, "kind": "property", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
"sessionTimeout": { "index": 25, "kind": "property", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" },
- "password": { "index": 26, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in the [...]
- "username": { "index": 27, "kind": "property", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when th [...]
+ "certificateValidator": { "index": 26, "kind": "property", "displayName":
"Certificate Validator", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.eclipse.milo.opcua.stack.core.security.CertificateValidator",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "A custom validator for
the cer [...]
+ "password": { "index": 27, "kind": "property", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in the [...]
+ "trustAllCertificates": { "index": 28, "kind": "property", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "security": "insecure:ssl",
"defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Whether to accept any
certificate [...]
+ "trustListDirectory": { "index": 29, "kind": "property", "displayName":
"Trust List Directory", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The directory holding
the trust list used to validate the certificate of the OPC [...]
+ "username": { "index": 30, "kind": "property", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when th [...]
},
"headers": {
"CamelMiloNodeIds": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"List", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The node ids.", "constantName":
"org.apache.camel.component.milo.MiloConstants#HEADER_NODE_IDS" },
@@ -70,7 +73,7 @@
"method": { "index": 8, "kind": "parameter", "displayName": "Method",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The method definition (see Method ID)" },
"monitorFilterType": { "index": 9, "kind": "parameter", "displayName":
"Monitor Filter Type", "group": "common", "label": "", "required": false,
"type": "enum", "javaType":
"org.apache.camel.component.milo.client.MonitorFilterType", "enum": [
"dataChangeFilter" ], "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.milo.client.MonitorFilterConfiguration",
"configurationField": "monitorFilterConfiguration", "description": "Monito [...]
"node": { "index": 10, "kind": "parameter", "displayName": "Node",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The node definition (see Node ID)" },
- "omitNullValues": { "index": 11, "kind": "parameter", "displayName": "Omit
Null Values", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Omit notifications in
case of null values" },
+ "omitNullValues": { "index": 11, "kind": "parameter", "displayName": "Omit
Null Values", "group": "common", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Omit a data change whose
value is null and whose status is Good. A data change with a Bad or Uncertain
status is always delivered." },
"queueSize": { "index": 12, "kind": "parameter", "displayName": "Queue
Size", "group": "common", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "description": "The queue size used for OPC UA subscriptions.
If not set, a queue size of 1 is requested." },
"samplingInterval": { "index": 13, "kind": "parameter", "displayName":
"Sampling Interval", "group": "common", "label": "", "required": false, "type":
"number", "javaType": "java.lang.Double", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "1000.0", "description": "The sampling
interval in milliseconds" },
"nodes": { "index": 14, "kind": "parameter", "displayName": "Nodes",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Comma-separated node definitions to monitor
with one consumer, instead of node (see Node ID)" },
@@ -96,7 +99,10 @@
"requestTimeout": { "index": 34, "kind": "parameter", "displayName":
"Request Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Request timeout in
milliseconds" },
"sessionName": { "index": 35, "kind": "parameter", "displayName": "Session
Name", "group": "client", "label": "client", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session name" },
"sessionTimeout": { "index": 36, "kind": "parameter", "displayName":
"Session Timeout", "group": "client", "label": "client", "required": false,
"type": "integer", "javaType": "java.lang.Long", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Session timeout in
milliseconds" },
- "password": { "index": 37, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in th [...]
- "username": { "index": 38, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when t [...]
+ "certificateValidator": { "index": 37, "kind": "parameter", "displayName":
"Certificate Validator", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.eclipse.milo.opcua.stack.core.security.CertificateValidator",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "A custom validator for
the ce [...]
+ "password": { "index": 38, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The password for
authentication. Use this instead of embedding credentials in th [...]
+ "trustAllCertificates": { "index": 39, "kind": "parameter", "displayName":
"Trust All Certificates", "group": "security", "label": "security", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "security": "insecure:ssl",
"defaultValue": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "Whether to accept any
certificat [...]
+ "trustListDirectory": { "index": 40, "kind": "parameter", "displayName":
"Trust List Directory", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The directory holding
the trust list used to validate the certificate of the OP [...]
+ "username": { "index": 41, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.milo.client.MiloClientConfiguration",
"configurationField": "configuration", "description": "The username for
authentication. Use this instead of embedding credentials in the endpoint URI
when t [...]
}
}
diff --git a/components-starter/camel-milo-starter/src/main/docs/milo.json
b/components-starter/camel-milo-starter/src/main/docs/milo.json
index 9b3830b009b..23d71b1f625 100644
--- a/components-starter/camel-milo-starter/src/main/docs/milo.json
+++ b/components-starter/camel-milo-starter/src/main/docs/milo.json
@@ -62,6 +62,12 @@
"sourceType":
"org.apache.camel.component.milo.browse.springboot.MiloBrowseComponentConfiguration",
"defaultValue": true
},
+ {
+ "name": "camel.component.milo-browse.certificate-validator",
+ "type":
"org.eclipse.milo.opcua.stack.core.security.CertificateValidator",
+ "description": "A custom validator for the certificate of the OPC UA
server. When set, it is used instead of the trust list configured with
trustListDirectory. Endpoints share a connection only when they use the same
validator instance. The option is a
org.eclipse.milo.opcua.stack.core.security.CertificateValidator type.",
+ "sourceType":
"org.apache.camel.component.milo.browse.springboot.MiloBrowseComponentConfiguration"
+ },
{
"name": "camel.component.milo-browse.channel-lifetime",
"type": "java.lang.Long",
@@ -209,6 +215,19 @@
"description": "Session timeout in milliseconds",
"sourceType":
"org.apache.camel.component.milo.browse.springboot.MiloBrowseComponentConfiguration"
},
+ {
+ "name": "camel.component.milo-browse.trust-all-certificates",
+ "type": "java.lang.Boolean",
+ "description": "Whether to accept any certificate presented by the OPC
UA server. This is insecure: the connection is encrypted, but the client does
not authenticate the server it talks to. It only applies when neither
certificateValidator nor trustListDirectory is configured.",
+ "sourceType":
"org.apache.camel.component.milo.browse.springboot.MiloBrowseComponentConfiguration",
+ "defaultValue": false
+ },
+ {
+ "name": "camel.component.milo-browse.trust-list-directory",
+ "type": "java.lang.String",
+ "description": "The directory holding the trust list used to validate
the certificate of the OPC UA server, in the layout used by Eclipse Milo:
trusted certificates in trusted\/certs, CRLs of trusted certificates in
trusted\/crl, certificates of issuing CAs in issuer\/certs and their CRLs in
issuer\/crl. The directories are created if they do not exist. Besides the
chain of trust, the validity period, the revocation by a CRL of the trust list
and the application URI of the server c [...]
+ "sourceType":
"org.apache.camel.component.milo.browse.springboot.MiloBrowseComponentConfiguration"
+ },
{
"name": "camel.component.milo-browse.username",
"type": "java.lang.String",
@@ -249,6 +268,12 @@
"sourceType":
"org.apache.camel.component.milo.client.springboot.MiloClientComponentConfiguration",
"defaultValue": false
},
+ {
+ "name": "camel.component.milo-client.certificate-validator",
+ "type":
"org.eclipse.milo.opcua.stack.core.security.CertificateValidator",
+ "description": "A custom validator for the certificate of the OPC UA
server. When set, it is used instead of the trust list configured with
trustListDirectory. Endpoints share a connection only when they use the same
validator instance. The option is a
org.eclipse.milo.opcua.stack.core.security.CertificateValidator type.",
+ "sourceType":
"org.apache.camel.component.milo.client.springboot.MiloClientComponentConfiguration"
+ },
{
"name": "camel.component.milo-client.channel-lifetime",
"type": "java.lang.Long",
@@ -396,6 +421,19 @@
"description": "Session timeout in milliseconds",
"sourceType":
"org.apache.camel.component.milo.client.springboot.MiloClientComponentConfiguration"
},
+ {
+ "name": "camel.component.milo-client.trust-all-certificates",
+ "type": "java.lang.Boolean",
+ "description": "Whether to accept any certificate presented by the OPC
UA server. This is insecure: the connection is encrypted, but the client does
not authenticate the server it talks to. It only applies when neither
certificateValidator nor trustListDirectory is configured.",
+ "sourceType":
"org.apache.camel.component.milo.client.springboot.MiloClientComponentConfiguration",
+ "defaultValue": false
+ },
+ {
+ "name": "camel.component.milo-client.trust-list-directory",
+ "type": "java.lang.String",
+ "description": "The directory holding the trust list used to validate
the certificate of the OPC UA server, in the layout used by Eclipse Milo:
trusted certificates in trusted\/certs, CRLs of trusted certificates in
trusted\/crl, certificates of issuing CAs in issuer\/certs and their CRLs in
issuer\/crl. The directories are created if they do not exist. Besides the
chain of trust, the validity period, the revocation by a CRL of the trust list
and the application URI of the server c [...]
+ "sourceType":
"org.apache.camel.component.milo.client.springboot.MiloClientComponentConfiguration"
+ },
{
"name": "camel.component.milo-client.username",
"type": "java.lang.String",
diff --git
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConfiguration.java
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConfiguration.java
index 49985587c8e..674ef6cbf2a 100644
---
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConfiguration.java
+++
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConfiguration.java
@@ -19,6 +19,7 @@ package org.apache.camel.component.milo.browse.springboot;
import org.apache.camel.component.milo.client.MiloClientConfiguration;
import org.apache.camel.component.milo.client.MiloClientConnectionManager;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.eclipse.milo.opcua.stack.core.security.CertificateValidator;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
@@ -154,12 +155,41 @@ public class MiloBrowseComponentConfiguration
* Session timeout in milliseconds
*/
private Long sessionTimeout;
+ /**
+ * A custom validator for the certificate of the OPC UA server. When set,
it
+ * is used instead of the trust list configured with trustListDirectory.
+ * Endpoints share a connection only when they use the same validator
+ * instance. The option is a
+ * org.eclipse.milo.opcua.stack.core.security.CertificateValidator type.
+ */
+ private CertificateValidator certificateValidator;
/**
* The password for authentication. Use this instead of embedding
* credentials in the endpoint URI when the password contains special
* characters (such as {code }, {code /}, {code }, {code &}).
*/
private String password;
+ /**
+ * Whether to accept any certificate presented by the OPC UA server. This
is
+ * insecure: the connection is encrypted, but the client does not
+ * authenticate the server it talks to. It only applies when neither
+ * certificateValidator nor trustListDirectory is configured.
+ */
+ private Boolean trustAllCertificates = false;
+ /**
+ * The directory holding the trust list used to validate the certificate of
+ * the OPC UA server, in the layout used by Eclipse Milo: trusted
+ * certificates in trusted/certs, CRLs of trusted certificates in
+ * trusted/crl, certificates of issuing CAs in issuer/certs and their CRLs
+ * in issuer/crl. The directories are created if they do not exist. Besides
+ * the chain of trust, the validity period, the revocation by a CRL of the
+ * trust list and the application URI of the server certificate are
checked.
+ * A certificate issued by a CA is refused when the trust list holds no CRL
+ * of that CA; an empty CRL is enough. A server certificate that does not
+ * chain up to a trusted certificate is written to rejected/certs, from
+ * where it can be moved to trusted/certs once it has been checked.
+ */
+ private String trustListDirectory;
/**
* The username for authentication. Use this instead of embedding
* credentials in the endpoint URI when the username contains special
@@ -369,6 +399,15 @@ public class MiloBrowseComponentConfiguration
this.sessionTimeout = sessionTimeout;
}
+ public CertificateValidator getCertificateValidator() {
+ return certificateValidator;
+ }
+
+ public void setCertificateValidator(
+ CertificateValidator certificateValidator) {
+ this.certificateValidator = certificateValidator;
+ }
+
public String getPassword() {
return password;
}
@@ -377,6 +416,22 @@ public class MiloBrowseComponentConfiguration
this.password = password;
}
+ public Boolean getTrustAllCertificates() {
+ return trustAllCertificates;
+ }
+
+ public void setTrustAllCertificates(Boolean trustAllCertificates) {
+ this.trustAllCertificates = trustAllCertificates;
+ }
+
+ public String getTrustListDirectory() {
+ return trustListDirectory;
+ }
+
+ public void setTrustListDirectory(String trustListDirectory) {
+ this.trustListDirectory = trustListDirectory;
+ }
+
public String getUsername() {
return username;
}
diff --git
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConverter.java
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConverter.java
index af82678f77b..355f31b453a 100644
---
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConverter.java
+++
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/browse/springboot/MiloBrowseComponentConverter.java
@@ -42,6 +42,7 @@ public class MiloBrowseComponentConverter implements
GenericConverter {
Set<ConvertiblePair> answer = new LinkedHashSet<>();
answer.add(new ConvertiblePair(String.class,
org.apache.camel.component.milo.client.MiloClientConfiguration.class));
answer.add(new ConvertiblePair(String.class,
org.apache.camel.component.milo.client.MiloClientConnectionManager.class));
+ answer.add(new ConvertiblePair(String.class,
org.eclipse.milo.opcua.stack.core.security.CertificateValidator.class));
return answer;
}
diff --git
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConfiguration.java
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConfiguration.java
index 07a270c106a..2cfdbb70fa5 100644
---
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConfiguration.java
+++
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConfiguration.java
@@ -19,6 +19,7 @@ package org.apache.camel.component.milo.client.springboot;
import org.apache.camel.component.milo.client.MiloClientConfiguration;
import org.apache.camel.component.milo.client.MiloClientConnectionManager;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.eclipse.milo.opcua.stack.core.security.CertificateValidator;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
@@ -168,12 +169,41 @@ public class MiloClientComponentConfiguration
* Session timeout in milliseconds
*/
private Long sessionTimeout;
+ /**
+ * A custom validator for the certificate of the OPC UA server. When set,
it
+ * is used instead of the trust list configured with trustListDirectory.
+ * Endpoints share a connection only when they use the same validator
+ * instance. The option is a
+ * org.eclipse.milo.opcua.stack.core.security.CertificateValidator type.
+ */
+ private CertificateValidator certificateValidator;
/**
* The password for authentication. Use this instead of embedding
* credentials in the endpoint URI when the password contains special
* characters (such as {code }, {code /}, {code }, {code &}).
*/
private String password;
+ /**
+ * Whether to accept any certificate presented by the OPC UA server. This
is
+ * insecure: the connection is encrypted, but the client does not
+ * authenticate the server it talks to. It only applies when neither
+ * certificateValidator nor trustListDirectory is configured.
+ */
+ private Boolean trustAllCertificates = false;
+ /**
+ * The directory holding the trust list used to validate the certificate of
+ * the OPC UA server, in the layout used by Eclipse Milo: trusted
+ * certificates in trusted/certs, CRLs of trusted certificates in
+ * trusted/crl, certificates of issuing CAs in issuer/certs and their CRLs
+ * in issuer/crl. The directories are created if they do not exist. Besides
+ * the chain of trust, the validity period, the revocation by a CRL of the
+ * trust list and the application URI of the server certificate are
checked.
+ * A certificate issued by a CA is refused when the trust list holds no CRL
+ * of that CA; an empty CRL is enough. A server certificate that does not
+ * chain up to a trusted certificate is written to rejected/certs, from
+ * where it can be moved to trusted/certs once it has been checked.
+ */
+ private String trustListDirectory;
/**
* The username for authentication. Use this instead of embedding
* credentials in the endpoint URI when the username contains special
@@ -391,6 +421,15 @@ public class MiloClientComponentConfiguration
this.sessionTimeout = sessionTimeout;
}
+ public CertificateValidator getCertificateValidator() {
+ return certificateValidator;
+ }
+
+ public void setCertificateValidator(
+ CertificateValidator certificateValidator) {
+ this.certificateValidator = certificateValidator;
+ }
+
public String getPassword() {
return password;
}
@@ -399,6 +438,22 @@ public class MiloClientComponentConfiguration
this.password = password;
}
+ public Boolean getTrustAllCertificates() {
+ return trustAllCertificates;
+ }
+
+ public void setTrustAllCertificates(Boolean trustAllCertificates) {
+ this.trustAllCertificates = trustAllCertificates;
+ }
+
+ public String getTrustListDirectory() {
+ return trustListDirectory;
+ }
+
+ public void setTrustListDirectory(String trustListDirectory) {
+ this.trustListDirectory = trustListDirectory;
+ }
+
public String getUsername() {
return username;
}
diff --git
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConverter.java
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConverter.java
index 92047d9b043..926d9b63968 100644
---
a/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConverter.java
+++
b/components-starter/camel-milo-starter/src/main/java/org/apache/camel/component/milo/client/springboot/MiloClientComponentConverter.java
@@ -42,6 +42,7 @@ public class MiloClientComponentConverter implements
GenericConverter {
Set<ConvertiblePair> answer = new LinkedHashSet<>();
answer.add(new ConvertiblePair(String.class,
org.apache.camel.component.milo.client.MiloClientConfiguration.class));
answer.add(new ConvertiblePair(String.class,
org.apache.camel.component.milo.client.MiloClientConnectionManager.class));
+ answer.add(new ConvertiblePair(String.class,
org.eclipse.milo.opcua.stack.core.security.CertificateValidator.class));
return answer;
}
diff --git a/components-starter/camel-wasm-starter/pom.xml
b/components-starter/camel-wasm-starter/pom.xml
index 2b3df432a9d..64d46eb2a9b 100644
--- a/components-starter/camel-wasm-starter/pom.xml
+++ b/components-starter/camel-wasm-starter/pom.xml
@@ -26,7 +26,7 @@
</parent>
<artifactId>camel-wasm-starter</artifactId>
<packaging>jar</packaging>
- <name>Camel SB Starters :: WASM</name>
+ <name>Camel SB Starters :: wasm</name>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
diff --git a/components-starter/camel-wasm-starter/src/main/docs/wasm.json
b/components-starter/camel-wasm-starter/src/main/docs/wasm.json
index 9b552973e7b..e8ba728cabc 100644
--- a/components-starter/camel-wasm-starter/src/main/docs/wasm.json
+++ b/components-starter/camel-wasm-starter/src/main/docs/wasm.json
@@ -10,17 +10,6 @@
"type":
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties",
"sourceType":
"org.apache.camel.component.wasm.springboot.WasmComponentConfiguration",
"sourceMethod": "getCustomizer()"
- },
- {
- "name": "camel.language.wasm",
- "type":
"org.apache.camel.language.wasm.springboot.WasmLanguageConfiguration",
- "sourceType":
"org.apache.camel.language.wasm.springboot.WasmLanguageConfiguration"
- },
- {
- "name": "camel.language.wasm.customizer",
- "type":
"org.apache.camel.spring.boot.LanguageConfigurationPropertiesCommon$CustomizerProperties",
- "sourceType":
"org.apache.camel.language.wasm.springboot.WasmLanguageConfiguration",
- "sourceMethod": "getCustomizer()"
}
],
"properties": [
@@ -48,23 +37,6 @@
"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 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 creating and starting the [...]
"sourceType":
"org.apache.camel.component.wasm.springboot.WasmComponentConfiguration",
"defaultValue": false
- },
- {
- "name": "camel.language.wasm.customizer.enabled",
- "type": "java.lang.Boolean",
- "sourceType":
"org.apache.camel.spring.boot.LanguageConfigurationPropertiesCommon$CustomizerProperties"
- },
- {
- "name": "camel.language.wasm.enabled",
- "type": "java.lang.Boolean",
- "description": "Whether to enable auto configuration of the wasm
language. This is enabled by default.",
- "sourceType":
"org.apache.camel.language.wasm.springboot.WasmLanguageConfiguration"
- },
- {
- "name": "camel.language.wasm.module",
- "type": "java.lang.String",
- "description": "Set the module (the distributable, loadable, and
executable unit of code in WebAssembly) resource that provides the expression
function.",
- "sourceType":
"org.apache.camel.language.wasm.springboot.WasmLanguageConfiguration"
}
],
"hints": [],
diff --git
a/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/language/wasm/springboot/WasmLanguageAutoConfiguration.java
b/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/language/wasm/springboot/WasmLanguageAutoConfiguration.java
deleted file mode 100644
index 66663726da2..00000000000
---
a/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/language/wasm/springboot/WasmLanguageAutoConfiguration.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.language.wasm.springboot;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.language.wasm.WasmLanguage;
-import org.apache.camel.spi.Language;
-import org.apache.camel.spi.LanguageCustomizer;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.apache.camel.spring.boot.LanguageConfigurationProperties;
-import org.apache.camel.spring.boot.util.CamelPropertiesHelper;
-import
org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans;
-import org.apache.camel.spring.boot.util.ConditionalOnHierarchicalProperties;
-import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator;
-import org.springframework.boot.autoconfigure.AutoConfiguration;
-import
org.springframework.boot.context.properties.EnableConfigurationProperties;
-import org.springframework.boot.convert.ApplicationConversionService;
-import org.springframework.context.ApplicationContext;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Conditional;
-import org.springframework.context.annotation.Lazy;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@AutoConfiguration(after = CamelAutoConfiguration.class)
-@Conditional(ConditionalOnCamelContextAndAutoConfigurationBeans.class)
-@EnableConfigurationProperties({LanguageConfigurationProperties.class,WasmLanguageConfiguration.class})
-@ConditionalOnHierarchicalProperties({"camel.language", "camel.language.wasm"})
-public class WasmLanguageAutoConfiguration {
-
- private final ApplicationContext applicationContext;
- private final WasmLanguageConfiguration configuration;
-
- public WasmLanguageAutoConfiguration(
- org.springframework.context.ApplicationContext applicationContext,
-
org.apache.camel.language.wasm.springboot.WasmLanguageConfiguration
configuration) {
- this.applicationContext = applicationContext;
- this.configuration = configuration;
- }
-
- @Lazy
- @Bean
- public org.apache.camel.spi.LanguageCustomizer configureWasmLanguage() {
- return new LanguageCustomizer() {
- @Override
- public void configure(String name, Language target) {
- if (target instanceof CamelContextAware cca &&
cca.getCamelContext() != null) {
-
CamelPropertiesHelper.copyConfigurationProperties(cca.getCamelContext(),
applicationContext,
- "camel.language.wasm", configuration, target);
- } else {
-
org.slf4j.LoggerFactory.getLogger(getClass()).debug("Language {} does not
implement CamelContextAware, skipping auto-configuration properties", name);
- }
- }
- @Override
- public boolean isEnabled(String name, Language target) {
- return HierarchicalPropertiesEvaluator.evaluate(
- applicationContext,
- "camel.language.customizer",
- "camel.language.wasm.customizer")
- && target instanceof WasmLanguage;
- }
- };
- }
-}
\ No newline at end of file
diff --git
a/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/language/wasm/springboot/WasmLanguageConfiguration.java
b/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/language/wasm/springboot/WasmLanguageConfiguration.java
deleted file mode 100644
index c323f476a34..00000000000
---
a/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/language/wasm/springboot/WasmLanguageConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.language.wasm.springboot;
-
-import org.apache.camel.spring.boot.LanguageConfigurationPropertiesCommon;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Call a wasm (web assembly) function
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.language.wasm")
-public class WasmLanguageConfiguration
- extends
- LanguageConfigurationPropertiesCommon {
-
- /**
- * Whether to enable auto configuration of the wasm language. This is
- * enabled by default.
- */
- private Boolean enabled;
- /**
- * Set the module (the distributable, loadable, and executable unit of code
- * in WebAssembly) resource that provides the expression function.
- */
- private String module;
-
- public String getModule() {
- return module;
- }
-
- public void setModule(String module) {
- this.module = module;
- }
-}
\ No newline at end of file
diff --git
a/components-starter/camel-wasm-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
b/components-starter/camel-wasm-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
index 6411a60aea0..6f65fc229a8 100644
---
a/components-starter/camel-wasm-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
+++
b/components-starter/camel-wasm-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
@@ -14,6 +14,4 @@
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------
-
org.apache.camel.component.wasm.springboot.WasmComponentAutoConfiguration
-org.apache.camel.language.wasm.springboot.WasmLanguageAutoConfiguration
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/milo.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/milo.adoc
index aa855cc63f0..86e56422212 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/milo.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/milo.adoc
@@ -25,7 +25,7 @@ Please refer to the above links for usage and configuration
details.
== Spring Boot Auto-Configuration
-The starter supports 78 options, which are listed below.
+The starter supports 84 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
@@ -34,6 +34,7 @@ The starter supports 78 options, which are listed below.
| camel.component.milo-browse.application-name | The application name | Apache
Camel adapter for Eclipse Milo | String
| camel.component.milo-browse.application-uri | The application URI |
http://camel.apache.org/EclipseMilo/Client | String
| camel.component.milo-browse.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.milo-browse.certificate-validator | A custom validator for
the certificate of the OPC UA server. When set, it is used instead of the trust
list configured with trustListDirectory. Endpoints share a connection only when
they use the same validator instance. The option is a
org.eclipse.milo.opcua.stack.core.security.CertificateValidator type. | |
CertificateValidator
| camel.component.milo-browse.channel-lifetime | Channel lifetime in
milliseconds | | Long
| camel.component.milo-browse.client-id | A virtual client id to force the
creation of a new connection instance | | String
| camel.component.milo-browse.configuration | All default options for client
configurations. The option is a
org.apache.camel.component.milo.client.MiloClientConfiguration type. | |
MiloClientConfiguration
@@ -57,12 +58,15 @@ The starter supports 78 options, which are listed below.
| camel.component.milo-browse.requested-publishing-interval | The requested
publishing interval in milliseconds | | Double
| camel.component.milo-browse.session-name | Session name | | String
| camel.component.milo-browse.session-timeout | Session timeout in
milliseconds | | Long
+| camel.component.milo-browse.trust-all-certificates | Whether to accept any
certificate presented by the OPC UA server. This is insecure: the connection is
encrypted, but the client does not authenticate the server it talks to. It only
applies when neither certificateValidator nor trustListDirectory is configured.
| false | Boolean
+| camel.component.milo-browse.trust-list-directory | The directory holding the
trust list used to validate the certificate of the OPC UA server, in the layout
used by Eclipse Milo: trusted certificates in trusted/certs, CRLs of trusted
certificates in trusted/crl, certificates of issuing CAs in issuer/certs and
their CRLs in issuer/crl. The directories are created if they do not exist.
Besides the chain of trust, the validity period, the revocation by a CRL of the
trust list and the appl [...]
| camel.component.milo-browse.username | The username for authentication. Use
this instead of embedding credentials in the endpoint URI when the username
contains special characters (such as \{code }, \{code /}, \{code }, \{code &}).
| | String
| camel.component.milo-client.allowed-security-policies | A set of allowed
security policy URIs. Default is to accept all and use the highest. | | String
| camel.component.milo-client.application-name | The application name | Apache
Camel adapter for Eclipse Milo | String
| camel.component.milo-client.application-uri | The application URI |
http://camel.apache.org/EclipseMilo/Client | String
| camel.component.milo-client.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.milo-client.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 th [...]
+| camel.component.milo-client.certificate-validator | A custom validator for
the certificate of the OPC UA server. When set, it is used instead of the trust
list configured with trustListDirectory. Endpoints share a connection only when
they use the same validator instance. The option is a
org.eclipse.milo.opcua.stack.core.security.CertificateValidator type. | |
CertificateValidator
| camel.component.milo-client.channel-lifetime | Channel lifetime in
milliseconds | | Long
| camel.component.milo-client.client-id | A virtual client id to force the
creation of a new connection instance | | String
| camel.component.milo-client.configuration | All default options for client
configurations. The option is a
org.apache.camel.component.milo.client.MiloClientConfiguration type. | |
MiloClientConfiguration
@@ -86,6 +90,8 @@ The starter supports 78 options, which are listed below.
| camel.component.milo-client.requested-publishing-interval | The requested
publishing interval in milliseconds | | Double
| camel.component.milo-client.session-name | Session name | | String
| camel.component.milo-client.session-timeout | Session timeout in
milliseconds | | Long
+| camel.component.milo-client.trust-all-certificates | Whether to accept any
certificate presented by the OPC UA server. This is insecure: the connection is
encrypted, but the client does not authenticate the server it talks to. It only
applies when neither certificateValidator nor trustListDirectory is configured.
| false | Boolean
+| camel.component.milo-client.trust-list-directory | The directory holding the
trust list used to validate the certificate of the OPC UA server, in the layout
used by Eclipse Milo: trusted certificates in trusted/certs, CRLs of trusted
certificates in trusted/crl, certificates of issuing CAs in issuer/certs and
their CRLs in issuer/crl. The directories are created if they do not exist.
Besides the chain of trust, the validity period, the revocation by a CRL of the
trust list and the appl [...]
| camel.component.milo-client.username | The username for authentication. Use
this instead of embedding credentials in the endpoint URI when the username
contains special characters (such as \{code }, \{code /}, \{code }, \{code &}).
| | String
| camel.component.milo-server.application-name | The application name | |
String
| camel.component.milo-server.application-uri | The application URI | | String
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
index 5acab63e91d..22f748f91cf 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
@@ -8,7 +8,6 @@ Run Wasm programs (WASI Preview 1 command modules) with the
message body as stan
== What's inside
* xref:{csb-camel-components}::wasm-component.adoc[Wasm component], URI
syntax: `wasm:module`
-* xref:{csb-camel-components}:languages:wasm-language.adoc[Wasm language]
Please refer to the above links for usage and configuration details.
@@ -24,7 +23,7 @@ Please refer to the above links for usage and configuration
details.
== Spring Boot Auto-Configuration
-The starter supports 5 options, which are listed below.
+The starter supports 3 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
@@ -32,6 +31,4 @@ The starter supports 5 options, which are listed below.
| camel.component.wasm.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.wasm.enabled | Whether to enable auto configuration of the
wasm component. This is enabled by default. | | Boolean
| camel.component.wasm.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 cr [...]
-| camel.language.wasm.enabled | Whether to enable auto configuration of the
wasm language. This is enabled by default. | | Boolean
-| camel.language.wasm.module | Set the module (the distributable, loadable,
and executable unit of code in WebAssembly) resource that provides the
expression function. | | String
|===
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index d31eae44a3b..68ee5608bce 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -5014,6 +5014,11 @@
<artifactId>camel-tensorflow-serving</artifactId>
<version>4.24.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-citrus</artifactId>
+ <version>4.24.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-junit5</artifactId>