DSL

Camel uses a Java Domain Specific Language or DSL for creating Enterprise Integration Patterns or Routes in a variety of domain-specific languages (DSL) as listed below:

  • Java DSL: a Java-based DSL using the fluent builder style.

  • XML DSL: an XML-based DSL in Camel XML files only.

  • Spring XML: an XML-based DSL in classic Spring XML files.

  • YAML DSL: for creating routes using YAML format.

  • Rest DSL: a DSL to define REST services using REST verbs.

  • Groovy DSL: a Groovy-based DSL to create routes leveraging closures and a specific Groovy extension module.

  • Kotlin DSL: a Kotlin-based DSL.

  • Annotation DSL: Use annotations in Java beans.

See Also