blob: 8936d14180cccebfef64a4ed63bd5feade41c394 [file] [log] [blame]
== Camel Example Kamelet Main
=== Introduction
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-kamalet-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.
=== Build
You will need to compile this example first:
$ mvn compile
=== Run
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
=== Help and contributions
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!