Versions Compared

Key

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

...

This page presents how to editing the route definition in Groovy groovy language through the Web Console which supports updating the routes in XML and Groovy now. and which DSLs are supported currently.

Getting Started

Through Web Console, you can review every route in the CamelContext. After opening a After opening your route in your browser, the URL may be http://localhost:8080/routes/route1, you can choose the edit link with Groovy groovy language to update it. The GroovyRenderer A Groovy Renderer will turn the route into Groovy groovy route definition. For example, after chooseing to edit a route defined by the following XML:

...

Save it and the route will deliver the following messages by parsing its header.

Guide for more DSLs

Though all kinds of DSLs can be accepted to create routes, but groovy renderer can't render every details of the routes when opening them. Web Console focuses on providing a editor for developers to update a route at runtime, but won't try to provide a development environment with full support of DSL. Following is a list showing which DSLs are fully supported and which can't be.

Supported

...

DSLs

Un-supported

...

DSLs