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.
-
Rest DSL contract first: rest DSL using contract-first when OpenAPI specs.
-
-
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
-
CamelContext the main entry for Camel is the
CamelContext
-
Routes for general information about a Camel route
-
RouteBuilder for creating routes using the Java DSL style.
-
LambdaRouteBuilder for creating routes using Java lambda style.
-
Endpoint DSL for creating routes using type-safe Camel endpoints in Java.
-
DataFormat DSL for type-safe Camel data formats in Java.
-
Route Template for creating reusable route templates.
-
Route Reload for hot-reloading routes in a running Camel application.