Apache Camel is an Open Source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data.
https://camel.apache.org/The IC4J Camel component allows native execution of Internet Computer smart contracts from Apache Camel.
A local MCP plus ICP sample is available at samples/mcp-icp-motoko/README.md.
It reuses the existing camel-mcp and ic4j-camel components directly, with all behavior implemented in Camel YAML routes.
Quick start:
cd /Users/roman/Projects/eclipse-workspace/ic4j-camel/samples/mcp-icp-motoko
./run-local.shThis starts a local dfx replica, deploys the sample Motoko canister, and serves an MCP endpoint at http://localhost:3000/mcp.
To add Java IC4J Apache Camel Internet Computer Component library to your Java project use Maven or Gradle import from Maven Central.
https://search.maven.org/artifact/ic4j/ic4j-camel/0.8.0/jar<dependency>
<groupId>org.ic4j</groupId>
<artifactId>ic4j-camel</artifactId>
<version>0.8.0</version>
</dependency>
implementation 'org.ic4j:ic4j-camel:0.8.0'
To install IC4J Camel component to Apache Karavan Visual Studio Code plug-in add
ic
to .vscode/extensions/camel-karavan.karavan-4.60.0/components/components.properties file
and content of src/ic.json file to .vscode/extensions/camel-karavan.karavan-4.60.0/components/components.json file.
To enable the loading of IC4J libraries, you should move the src/application.properties file to the root of your project.
You need JDK 21+ to build IC4J Apache Camel Internet Computer Component.