Skip to content
This repository was archived by the owner on Jul 9, 2022. It is now read-only.
l-yara edited this page May 31, 2012 · 114 revisions

Welcome to Spring Integration Scala DSL

A quick glimpse

val messageFlow =
      filter.using{payload: String => payload == "World"} -->
      transform.using { payload: String => "Hello " + payload} -->
      handle.using { 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.

Clone this wiki locally