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.
-
Spring XML - A XML based DSL in Spring XML files
-
Rest DSL - A DSL to define REST services using a REST style in either Java or XML.
-
Annotation DSL - Use annotations in Java beans.
-
Yaml DSL for creating routes using YAML format.
The main entry points for the DSL are:
-
CamelContext for creating a Camel routing rulebase
-
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.
-
Route Template for creating reusable route templates.