Versions Compared

Key

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

...

Dependencies

To use the Scala DSL in your camel routes you need to add the a dependency on camel-scala which implements the Scala DSL.

If you use maven you could just add the following to your pom.xml, substituting the version number for the latest & greatest release (see the download page for the latest versions).

Code Block
xml
xml

<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-scala</artifactId>
  <version>2.5.0</version>
</dependency>

Otherwise, you'll also need Scala