Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Rest DSL is a facade that builds Rest endpoints as consumers for Camel routes. The actual REST transport is leveraged by using Camel REST components such as RestletSpark-rest, and others that has native REST integration.

Components supporting Rest DSL

The following Camel components supports the Rest DSL. See the bottom of this page for how to integrate a component with the Rest DSL.

  • camel-jetty
  • camel-restlet
  • camel-spark-rest

Rest DSL with Java

To use the Rest DSL in Java then just do as with regular Camel routes by extending the RouteBuilder and define the routes in the configure method.

...