Versions Compared

Key

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

...

  • happen to: doTry...doCatch(...doFinally), onException, throwException, pollEnrich, process, etc.
  • improving suggestion: let groovy renderer add the import packages automatically, but I am afraid it can't process them at all times.

Filter and When DSL

...

using Groovy

...

Closure

The Web Console parses routes in groovy language by using the GroovyRouteBuilder in camel-groovy component. GroovyRouteBuilder uses the ConfigureCamel to dynamically add methods for the route configuration behaviors. Currently it has added closure for filter and when DSL. So you can use two method to defined a filter through Web Console:

...