This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch feature/CAMEL-24059-migrate-wasm-to-endive in repository https://gitbox.apache.org/repos/asf/camel.git
commit adf2cc5947674063c9b0ee435f33a1c54ab9860d Author: Claus Ibsen <[email protected]> AuthorDate: Tue Jul 21 13:45:07 2026 +0200 CAMEL-24059: Migrate camel-wasm from Chicory to Endive Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- components/camel-wasm/pom.xml | 4 ++-- .../src/main/java/org/apache/camel/component/wasm/WasmProducer.java | 4 ++-- .../main/java/org/apache/camel/language/wasm/WasmExpression.java | 2 +- .../src/main/java/org/apache/camel/wasm/WasmFunction.java | 6 +++--- parent/pom.xml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/camel-wasm/pom.xml b/components/camel-wasm/pom.xml index 893e40cffb53..77ddf933ca27 100644 --- a/components/camel-wasm/pom.xml +++ b/components/camel-wasm/pom.xml @@ -45,9 +45,9 @@ </dependency> <dependency> - <groupId>com.dylibso.chicory</groupId> + <groupId>run.endive</groupId> <artifactId>runtime</artifactId> - <version>${chicory-version}</version> + <version>${endive-version}</version> </dependency> <dependency> diff --git a/components/camel-wasm/src/main/java/org/apache/camel/component/wasm/WasmProducer.java b/components/camel-wasm/src/main/java/org/apache/camel/component/wasm/WasmProducer.java index 5b3ca6a23690..c81f0f0669fb 100644 --- a/components/camel-wasm/src/main/java/org/apache/camel/component/wasm/WasmProducer.java +++ b/components/camel-wasm/src/main/java/org/apache/camel/component/wasm/WasmProducer.java @@ -18,8 +18,6 @@ package org.apache.camel.component.wasm; import java.io.InputStream; -import com.dylibso.chicory.wasm.Parser; -import com.dylibso.chicory.wasm.WasmModule; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; import org.apache.camel.spi.Resource; @@ -28,6 +26,8 @@ import org.apache.camel.support.DefaultProducer; import org.apache.camel.support.PluginHelper; import org.apache.camel.wasm.WasmFunction; import org.apache.camel.wasm.WasmSupport; +import run.endive.wasm.Parser; +import run.endive.wasm.WasmModule; public class WasmProducer extends DefaultProducer { diff --git a/components/camel-wasm/src/main/java/org/apache/camel/language/wasm/WasmExpression.java b/components/camel-wasm/src/main/java/org/apache/camel/language/wasm/WasmExpression.java index af542ad39d39..065d5ba13d75 100644 --- a/components/camel-wasm/src/main/java/org/apache/camel/language/wasm/WasmExpression.java +++ b/components/camel-wasm/src/main/java/org/apache/camel/language/wasm/WasmExpression.java @@ -20,7 +20,6 @@ import java.io.IOException; import java.io.InputStream; import java.util.Collection; -import com.dylibso.chicory.wasm.Parser; import com.fasterxml.jackson.databind.node.BooleanNode; import org.apache.camel.CamelContext; import org.apache.camel.Exchange; @@ -33,6 +32,7 @@ import org.apache.camel.support.ExpressionAdapter; import org.apache.camel.support.PluginHelper; import org.apache.camel.wasm.WasmFunction; import org.apache.camel.wasm.WasmSupport; +import run.endive.wasm.Parser; public class WasmExpression extends ExpressionAdapter implements ExpressionResultTypeAware { private final String expression; diff --git a/components/camel-wasm/src/main/java/org/apache/camel/wasm/WasmFunction.java b/components/camel-wasm/src/main/java/org/apache/camel/wasm/WasmFunction.java index fc2acb4b139e..d7890c743e0b 100644 --- a/components/camel-wasm/src/main/java/org/apache/camel/wasm/WasmFunction.java +++ b/components/camel-wasm/src/main/java/org/apache/camel/wasm/WasmFunction.java @@ -20,9 +20,9 @@ import java.util.Objects; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; -import com.dylibso.chicory.runtime.ExportFunction; -import com.dylibso.chicory.runtime.Instance; -import com.dylibso.chicory.wasm.WasmModule; +import run.endive.runtime.ExportFunction; +import run.endive.runtime.Instance; +import run.endive.wasm.WasmModule; public class WasmFunction implements AutoCloseable { private final Lock lock; diff --git a/parent/pom.xml b/parent/pom.xml index 8a648732d8f9..7014b5e4e4b5 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -100,7 +100,6 @@ <camunda-client-java-version>8.9.13</camunda-client-java-version> <cassandra-driver-version>4.19.3</cassandra-driver-version> <jta-api-1.2-version>1.2</jta-api-1.2-version> - <chicory-version>1.7.5</chicory-version> <chunk-templates-version>3.6.2</chunk-templates-version> <citrus-version>5.0.0-M2</citrus-version> <classgraph-version>4.8.184</classgraph-version> @@ -153,6 +152,7 @@ <github-api-version>1.330</github-api-version> <elasticsearch-java-client-version>9.4.3</elasticsearch-java-client-version> <elasticsearch-java-client-sniffer-version>9.4.3</elasticsearch-java-client-sniffer-version> + <endive-version>1.0.1</endive-version> <extjwnl-version>2.0.5</extjwnl-version> <extjwnl-data-wn31-version>1.2</extjwnl-data-wn31-version> <exec-maven-plugin-version>3.6.3</exec-maven-plugin-version>
