Apache Camel: First IOTA Component Example


I am proud to comunicate that Apache Camel since version 2.24 will support IOTA DLT Component (I’m the author)
Apache Camel is a open source implementation of famous Enterprise Integration Patterns. Camel is a Routing and Mediation Engine and facilitates the developers to create routes and mediation rules in variety of Domain Specific language(DSL) such as java, Spring/XML, Scala etc.


Into this blog article i will explain how to create a simple project to send data from MQTT to IOTA Tangle!

Create java project

To create java project you can use maven archetypes

mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes \
  -DarchetypeArtifactId=camel-archetype-spring -DarchetypeVersion=2.22.0 \
Inside the folder src/main/resources/META-INF/spring can find the main file camel-context.xml

POM dependencies



Note: You must upgrade camel version form 2.22.0 to 2.24.0-SNAPSHOT

Write the code

Now is let time to edit the file to write data to the tangle.


You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More

Did you know?

Buy in without the stress of trying to time the market

when you setup a savings plan. If you haven’t started a plan yet, head to your Bitpanda account to get started!

Purchasing cryptocurrencies comes with a number of risks.
Never invest money that you can't afford to lose.

You can automatically invest

in IOTA with Bitpanda Savings!