Skip to content

Getting Started

olegz edited this page · 19 revisions

Getting started process is simple and we are currently supporting the two major IDEs such as Eclipse and IntelliJ as well build systems such as Gradle and SBT

We are also providing a sample project that will get you started within minutes and could be used as a template for starting new projects in the future. The sample project contains many small samples demonstrating each and every supported EIP pattern configuration as well as a more complete sample Order Processing demonstrating what a real application might look like. The small samples organized as JUnit test and are all run during the build process while Order Processing is a Scala application which you'll be able to execute separately

To get started follow these simple steps:

Check out the sample project

git clone git://
cd scala-dsl-sample

Build sample project

Here you have 2 options. You can build with SBT or Gradle. From the project root directory:

Gradle (the simples option which has no pre-requisites - RECOMMENDED)

./gradlew clean test


You must have SBT installed. The project was tested with SBT v0.11.2

sbt clean test

This should build the project and run all the tests.

Import project in IDE


From the root of the project execute the following Gradle command

./gradlew clean eclipse

You must have Scala IDE installed. If using SpringSource Tool Suite (STS) you can simply navigate to a Dashboard (Help -> Dashboard) and install it form the Extensions tab. Than simply import project as an existing project. You may need to add scala library manually (Right click on the project --> Scala --> Add Scala Library to build path)

IntelliJ IDEA

From the root of the project execute the following Gradle command

./gradlew clean idea

This wil generate required artifacts to be able to open project in IntelliJ IDEA.

Working with sample projects

Individual samples

Navigate to src/test/scala. There you'll see a package spring.integration.scala.dsl which contains DSLUsageDemoTests.scala. There you'll see that each uint test has a descriptive name and scaladoc describing the details. We will follow with more formal documentation.

The last sample (test) is OrderProcessingDemo. Details for it provided here:

Back to Home

Something went wrong with that request. Please try again.