Groovy DSL

JVM since1.8.0 Native since2.16.0

Support for parsing Groovy route definitions at runtime

What’s inside

Please refer to the above link for usage and configuration details.

Maven coordinates

Or add the coordinates to your existing project:


Check the User guide for more information about writing Camel Quarkus applications.

Camel Quarkus limitations

The Groovy extensions are not supported which means that the extensions defined in the Camel project are ignored, more details in Groovy DSL - Add support of Groovy extensions issue #4384.

In case of native compilation, for some specific use cases like the following one, it could be needed to add the flag --report-unsupported-elements-at-runtime to prevent compilation error of type DeletedElementException: Unsupported method java.lang.Class.registerNatives() is reachable.

import org.apache.camel.component.seda.SedaComponent

camel {
    components {
        mySeda(SedaComponent) { (1)
            // rest of the closure here
// rest of the Groovy script
1 Requires the flag --report-unsupported-elements-at-runtime to be added to the build command for native compilation.