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)
.<Map<String, String>>headerFunction("foo", m -> m.getPayload().get("name")))
```
Remove redundant functional interfaces in favor of `Function`
FunctionExpression: Add JDBC Splitter sample
Minor Polishing to FunctionExpression
FunctionExpression: JavaDocs
This commit is contained in:
committed by
Gary Russell
parent
cab77b5e76
commit
4005ff874d
@@ -28,12 +28,13 @@ ext {
|
||||
apacheSshdVersion = '0.10.1'
|
||||
embedMongoVersion = '1.46.0'
|
||||
ftpServerVersion = '1.0.6'
|
||||
hsqldbVersion = '2.3.2'
|
||||
jacocoVersion = '0.7.1.201405082137'
|
||||
jmsApiVersion = '1.1-rev-1'
|
||||
mailVersion = '1.4.7'
|
||||
slf4jVersion = '1.7.7'
|
||||
springIntegrationVersion = '4.0.4.RELEASE'
|
||||
springBootVersion = '1.1.7.RELEASE'
|
||||
springBootVersion = '1.1.8.RELEASE'
|
||||
|
||||
linkHomepage = 'https://github.com/spring-projects/spring-integration-extensions'
|
||||
linkCi = 'https://build.spring.io/browse/INTEXT'
|
||||
@@ -96,6 +97,7 @@ dependencies {
|
||||
testRuntime "com.sun.mail:smtp:$mailVersion"
|
||||
testRuntime "com.sun.mail:pop3:$mailVersion"
|
||||
testRuntime "com.sun.mail:imap:$mailVersion"
|
||||
testRuntime "org.hsqldb:hsqldb:$hsqldbVersion"
|
||||
|
||||
jacoco "org.jacoco:org.jacoco.agent:$jacocoVersion:runtime"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user