Kamelet

JVM since1.7.0 Native since1.7.0

Materialize route templates

What’s inside

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

Preloading Kamelets at build-time

This extension can preload a set of Kamelets at build time. You must include the names of each Kamelet, in the quarkus.camel.kamelet.identifiers configuration property.

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>

If the Kamelet requires the camel-kamelets-utils dependency, then this should also be added to your application.

<dependency>
    <groupId>org.apache.camel.kamelets</groupId>
    <artifactId>camel-kamelets-utils</artifactId>
    <exclusions>
        <exclusion>
            <groupId>org.apache.camel</groupId>
            <artifactId>*</artifactId>
        </exclusion>
    </exclusions>
</dependency>

You can select which Kamelets from the catalog you want to use by referencing their name in the quarkus.camel.kamelet.identifiers property.

Additional Camel Quarkus configuration

Configuration property Type Default

quarkus.camel.kamelet.identifiers

List of kamelets identifiers to pre-load at build time.

Each individual identifier is used to set the related org.apache.camel.model.RouteTemplateDefinition id.

List of string

Configuration property fixed at build time. All other configuration properties are overridable at runtime.