-
Notifications
You must be signed in to change notification settings - Fork 33
Home
Current Release is 1.0.0.M2 and is available from this repository
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
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)
[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.