Domain Specific Languages

Camel Domain Specific Language

qianmoQqianmoQ· 更新于 2026-09-23· 阅读 5 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

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.

  • 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 Diagram for generating visual route diagrams for documentation purposes.
  • Route Reload for hot-reloading routes in a running Camel application.

评论

登录后参与评论

正在加载评论…