Kamelet
JVM since1.7.0 Native since1.7.0
Materialize route templates
What’s inside
-
Kamelet component, URI syntax:
kamelet:templateId/routeId
Please refer to the above link for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-kamelet</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Usage
Using the Kamelet Catalog
A set of pre-made Kamelets can be found in the Kamelet Catalog. To use a Kamelet from the catalog, you need to copy its YAML definition (that you can find in the camel-kamelets repository) to your project.
Alternatively, you can add the camel-kamelets
dependency to your application.
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets</artifactId>
</dependency>
Additional Camel Quarkus configuration
Configuration property | Type | Default |
---|---|---|
Optional comma separated list of kamelet identifiers to configure for native mode support. A kamelet identifier is the Kamelet file name without the .kamelet.yaml suffix. <p> The default value '*' will result in all discovered Kamelet definition files being included into the native image. Note that this configuration option is only relevant when producing a native application. </p> | List of |
|
Configuration property fixed at build time. All other configuration properties are overridable at runtime.