spring-projects/spring-integration-extensions — pull request #118 by artembilan (2014-10-08 07:46:17+00:00)
Title: Java DSL: Introduce `FunctionExpression`

Add support for `FunctionExpression` and apply it alongside with `expression`, where it is possible
For example:
```
.enrich(e -> e.requestChannel("enrichChannel")
.requestPayload(Message::getPayload)
.shouldClonePayload(false)
.>headerFunction("foo", m -> m.getPayload().get("name")))
```
Remove redundant functional interfaces in favor of `Function`