This example shows how to use ready to use Kamelets that you can find at the Camel Kamelet Catalog.
The application is run with KameletMain
class from camel-kamelet-main JAR.
This makes it easy to run Camel standalone with Kamelet that can be automatically
downloaded from GitHub, and to use YAML DSL for creating Camel routes that use the Kamelets.
The example has no Java code at all.
A Camel routes is coded in the my-route.yaml
file using the YAML DSL that uses the Kamelet,
and log the result from the Kamelet to the console.
You can run this example using
$ mvn camel:run
The application is also built as a fat jar (see pom.xml
), which you can run with
$ mvn package -DskipTests
$ java -jar target/camel-example-kamelet-main-jar-with-dependencies.jar
If you hit any problem using Camel or have some feedback, then please let us know.
We also love contributors, so get involved :-)
The Camel riders!