This repository was archived by the owner on Jul 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Home
olegz edited this page Feb 27, 2012
·
114 revisions
Welcome to Spring Integration Scala DSL wiki!
Here is the quick glimpse
val messageFlow =
filter.using{m: Message[String] => m.getPayload().equals("World")} -->
transform.using { value: String => "Hello " + m.getPayload()} -->
handle.using { payload: String => println("Here is your Message: " + payload) }
messageFlow.send("World")
The output should be:
Here is your Message: Hello World
messageFlow.send("foo")
and there is no output since it did not pass the filter criteria
[Introduction] (https://github.com/SpringSource/spring-integration-scala/wiki/Introduction)
[Getting Started] (https://github.com/SpringSource/spring-integration-scala/wiki/Getting-Started)
[DSL Reference] (https://github.com/SpringSource/spring-integration-scala/wiki/Reference)
[Roadmap] (https://github.com/SpringSource/spring-integration-scala/wiki/Current-Roadmap)