This is an automated email from the ASF dual-hosted git repository.
oscerd 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 da27b325a13 [create-pull-request] automated change (#2030)
da27b325a13 is described below
commit da27b325a133dcf636f40bb1441188cfa842aa95
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Oct 13 07:35:17 2026 +0200
[create-pull-request] automated change (#2030)
Co-authored-by: oscerd <[email protected]>
---
.../camel/springboot/catalog/components/atom.json | 2 +-
.../camel/springboot/catalog/components/rss.json | 2 +-
.../camel/springboot/catalog/components/wasm.json | 20 +++++++++++++++-----
.../wasm/springboot/WasmComponentConfiguration.java | 3 ++-
.../modules/ROOT/pages/starters/wasm.adoc | 4 ++--
tooling/camel-spring-boot-dependencies/pom.xml | 7 +------
6 files changed, 22 insertions(+), 16 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atom.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atom.json
index 234844eb375..d57c2725bdc 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atom.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/atom.json
@@ -33,7 +33,7 @@
"properties": {
"feedUri": { "index": 0, "kind": "path", "displayName": "Feed Uri",
"group": "consumer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The URI to the feed to
poll." },
"sendEmptyMessageWhenIdle": { "index": 1, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
- "sortEntries": { "index": 2, "kind": "parameter", "displayName": "Sort
Entries", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Sets whether to sort
entries by published date. Only works when splitEntries = true." },
+ "sortEntries": { "index": 2, "kind": "parameter", "displayName": "Sort
Entries", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Sets whether to sort
entries by updated date (by published date for an entry without an updated
date), so the oldest entry is routed first. Only works when splitEntries =
true." },
"splitEntries": { "index": 3, "kind": "parameter", "displayName": "Split
Entries", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Sets whether or not
entries should be sent individually or whether the entire feed should be sent
as a single message" },
"throttleEntries": { "index": 4, "kind": "parameter", "displayName":
"Throttle Entries", "group": "consumer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Sets whether all
entries identified in a single feed poll should be delivered immediately. If
true, only one entry is processed per delay. Only applicable when splitEntries
= true." },
"bridgeErrorHandler": { "index": 5, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "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 [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rss.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rss.json
index 80454ac14d5..3de03532d44 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rss.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/rss.json
@@ -33,7 +33,7 @@
"properties": {
"feedUri": { "index": 0, "kind": "path", "displayName": "Feed Uri",
"group": "consumer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The URI to the feed to
poll." },
"sendEmptyMessageWhenIdle": { "index": 1, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
- "sortEntries": { "index": 2, "kind": "parameter", "displayName": "Sort
Entries", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Sets whether to sort
entries by published date. Only works when splitEntries = true." },
+ "sortEntries": { "index": 2, "kind": "parameter", "displayName": "Sort
Entries", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Sets whether to sort
entries by updated date (by published date for an entry without an updated
date), so the oldest entry is routed first. Only works when splitEntries =
true." },
"splitEntries": { "index": 3, "kind": "parameter", "displayName": "Split
Entries", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Sets whether or not
entries should be sent individually or whether the entire feed should be sent
as a single message" },
"throttleEntries": { "index": 4, "kind": "parameter", "displayName":
"Throttle Entries", "group": "consumer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Sets whether all
entries identified in a single feed poll should be delivered immediately. If
true, only one entry is processed per delay. Only applicable when splitEntries
= true." },
"bridgeErrorHandler": { "index": 5, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "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 [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/wasm.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/wasm.json
index 7fdbe2c15d2..4a25063dae0 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/wasm.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/wasm.json
@@ -3,7 +3,7 @@
"kind": "component",
"name": "wasm",
"title": "Wasm",
- "description": "Invoke Wasm functions.",
+ "description": "Run Wasm programs (WASI Preview 1 command modules) with
the message body as standard input.",
"deprecated": false,
"firstVersion": "4.4.0",
"label": "core,script",
@@ -14,7 +14,7 @@
"version": "4.23.0-SNAPSHOT",
"scheme": "wasm",
"extendsScheme": "",
- "syntax": "wasm:functionName",
+ "syntax": "wasm:module",
"async": false,
"api": false,
"consumerOnly": false,
@@ -27,9 +27,19 @@
"lazyStartProducer": { "index": 0, "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": 1, "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 [...]
},
+ "headers": {
+ "CamelWasmExitCode": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "Integer",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "The exit code of the module: 0 when it returned from its
_start function, otherwise the value it passed to proc_exit. Not set when the
module trapped, timed out or exceeded maxOutputSize.", "constantName":
"org.apache.camel.wasm.Wasm$Headers#E [...]
+ "CamelWasmStderr": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "What the module wrote to its standard error, decoded as
UTF-8. Not set when the module wrote nothing or timed out.", "constantName":
"org.apache.camel.wasm.Wasm$Headers#STDERR" }
+ },
"properties": {
- "functionName": { "index": 0, "kind": "path", "displayName": "Function
Name", "group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The Function Name" },
- "module": { "index": 1, "kind": "parameter", "displayName": "Module",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.wasm.WasmConfiguration", "configurationField":
"configuration", "description": "Set the module (the distributable, loadable,
and executable unit of code in WebAssembly) resource that pr [...]
- "lazyStartProducer": { "index": 2, "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 [...]
+ "module": { "index": 0, "kind": "path", "displayName": "Module", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The WASI Preview 1 command module to
run, as a resource: by default from the classpath, or with a prefix such as
classpath:, file: or http:" },
+ "args": { "index": 1, "kind": "parameter", "displayName": "Args", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.wasm.WasmConfiguration",
"configurationField": "configuration", "description": "The command line
arguments passed to the module, separated by whitespace. Use double quotes
around an argument that contains whites [...]
+ "environment": { "index": 2, "kind": "parameter", "displayName":
"Environment", "group": "producer", "label": "", "required": false, "type":
"object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>",
"prefix": "environment.", "multiValue": true, "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.wasm.WasmConfiguration", "configurationField":
"configuration", "description": "Environment variables for the module, [...]
+ "environmentHeaders": { "index": 3, "kind": "parameter", "displayName":
"Environment Headers", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.wasm.WasmConfiguration", "configurationField":
"configuration", "description": "A comma separated allow-list of message
headers whose values are passed to the module as environment v [...]
+ "failOnNonZeroExit": { "index": 4, "kind": "parameter", "displayName":
"Fail On Non Zero Exit", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.wasm.WasmConfiguration", "configurationField":
"configuration", "description": "Whether a module that exits with a non-zero
exit code fails the exchange with a WasmExi [...]
+ "maxMemoryPages": { "index": 5, "kind": "parameter", "displayName": "Max
Memory Pages", "group": "producer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.wasm.WasmConfiguration", "configurationField":
"configuration", "description": "The maximum size of the memory of the module,
in WebAssembly pages of 64 KiB. Rust and Go programs declare no maximum by
[...]
+ "maxOutputSize": { "index": 6, "kind": "parameter", "displayName": "Max
Output Size", "group": "producer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.wasm.WasmConfiguration", "configurationField":
"configuration", "description": "The maximum number of bytes the module may
write to its standard output, and separately to its standard error, which are
bu [...]
+ "timeout": { "index": 7, "kind": "parameter", "displayName": "Timeout",
"group": "producer", "label": "", "required": false, "type": "duration",
"javaType": "long", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.wasm.WasmConfiguration",
"configurationField": "configuration", "description": "The maximum time the
module may run for one exchange, in milliseconds. When it is exceeded the
module is interrupted and the exchange f [...]
+ "lazyStartProducer": { "index": 8, "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/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/component/wasm/springboot/WasmComponentConfiguration.java
b/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/component/wasm/springboot/WasmComponentConfiguration.java
index 6d4adb1a399..ed795bb09bf 100644
---
a/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/component/wasm/springboot/WasmComponentConfiguration.java
+++
b/components-starter/camel-wasm-starter/src/main/java/org/apache/camel/component/wasm/springboot/WasmComponentConfiguration.java
@@ -20,7 +20,8 @@ import
org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
- * Invoke Wasm functions.
+ * Run Wasm programs (WASI Preview 1 command modules) with the message body as
+ * standard input.
*
* Generated by camel-package-maven-plugin - do not edit this file!
*/
diff --git a/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
b/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
index 7bb7bebb1e8..5acab63e91d 100644
--- a/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
+++ b/docs/spring-boot/modules/ROOT/pages/starters/wasm.adoc
@@ -3,11 +3,11 @@
= Wasm
:artifactid: camel-wasm-starter
-Invoke Wasm functions.
+Run Wasm programs (WASI Preview 1 command modules) with the message body as
standard input.
== What's inside
-* xref:{csb-camel-components}::wasm-component.adoc[Wasm component], URI
syntax: `wasm:functionName`
+* 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.
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index 4691d449e6e..9a40a7b6d17 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -73,7 +73,7 @@
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>tea-openapi</artifactId>
- <version>0.3.17</version>
+ <version>0.3.18</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
@@ -3924,11 +3924,6 @@
<artifactId>camel-jbang-plugin-kubernetes</artifactId>
<version>4.23.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-jbang-plugin-route-parser</artifactId>
- <version>4.23.0-SNAPSHOT</version>
- </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jbang-plugin-test</artifactId>