You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Java DSL

Camel uses a Java Domain Specific Language or DSL for creating Enterprise Integration Patterns or Routes. The benefits of using a Java DSL is that your IDE can smart complete your code as you start typing, rather than having to mess around with buckets of XML.

The main entry points for the DSL are

  • CamelContext for creating a Camel context and adding routes
  • RouteBuilder for creating a collection of routes using the routing DSL

For more examples of the DSL in action see

  • No labels