Scala DSL Supported Languages
Support for other languages inside the Scala DSL routes is delivered through traits. The org.apache.camel.scala.dsl.languages
package currently offers traits to support XPath. To use any given language, you can mix-in the trait when creating your RouteBuilder
.
You can use any of the supported Camel Languages in the Scala DSL; see below for a couple of examples: