...
The Groovy DSL implementation is built on top of the existing Java-based DSL, but it additionally allows to use Groovy language features in your routes, particularly Closures acting as processor, expression, predicate, or aggregation strategy.
With the Groovy DSL you write your RouteBuilder classes entirely in Groovy, while the scripting component allows to embed small scripts into Java routes. The Groovy DSL requires Groovy 2.0 or newer and is available as of Camel 2.11.
Overview
TODO
Using Closures
Using Groovy XML processing
Custom DSL extensions
Developing with the Groovy DSL
To be able to use the Groovy DSL in your camel routes you need to add the a dependency on * camel-groovy which implements the Groovy DSL.
...