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 A XML based DSL in Camel XML files only.

  • Spring XML - A 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