Home

olegz edited this page Jun 6, 2012 · 114 revisions

Welcome to Spring Integration Scala DSL

Current Release is 1.0.0.M2 and is available from this repository

http://repo.springsource.org/libs-milestone-local

Currently available modules are:

  • spring-integration-dsl-scala-core
  • spring-integration-dsl-scala-file
  • spring-integration-dsl-scala-ftp
  • spring-integration-dsl-scala-gemfire
  • spring-integration-dsl-scala-http
  • spring-integration-dsl-scala-integration-demos
  • spring-integration-dsl-scala-jms
  • spring-integration-dsl-scala-sftp

A quick glimpse

val messageFlow =
      filter {payload: String => payload == "World"} -->
      transform { payload: String => "Hello " + payload} -->
      handle { payload: String => println(payload) }
    
messageFlow.send("World")

The output should be:

Hello World

Provide the value other than "World" to the 'send(..)' method and the Message will be discarded by the filter


[Introduction] (https://github.com/SpringSource/spring-integration-dsl-scala/wiki/Introduction)

[Getting Started] (https://github.com/SpringSource/spring-integration-dsl-scala/wiki/Getting-Started)

[DSL Reference] (https://github.com/SpringSource/spring-integration-dsl-scala/wiki/Reference)

[Development and Contributions] (https://github.com/SpringSource/spring-integration-dsl-scala/wiki/Development-and-Contributions)

Resources

[Roadmap] (https://github.com/SpringSource/spring-integration-dsl-scala/wiki/Current-Roadmap)

The Spring Integration Scala DSL project is released under version 2.0 of the Apache License.