DSL: Add enrichHeaders(Map) EIP-method
* Introduce `MapBuilder` and its custom inheritor - `MailHeadersBuilder` * Add `HeaderEnricherSpec.headers(MapBuilder)` and `.headers(Map)` * Change `MailTests` to use new `Mail.headers()` and new `IntegrationFlowDefinition.enrichHeaders(MapBuilder)` * Change `mailapi` dependency to the IO's `javax.mail` Polishing - Add headerExpressions() More Polishing - Add Configurer Polishing - PR Comments - Move MapBuilderConfigurer to superclass. - Move PropertiesBuilderConfigurer into PropertiesBuilder.
This commit is contained in:
committed by
Gary Russell
parent
238c1f06b9
commit
4b5bbb6412
@@ -92,7 +92,7 @@ dependencies {
|
||||
testRuntime("org.apache.activemq:activemq-kahadb-store:$activeMqVersion") {
|
||||
exclude group: "org.springframework"
|
||||
}
|
||||
testRuntime "com.sun.mail:mailapi:$mailVersion"
|
||||
testRuntime "com.sun.mail:javax.mail:$mailVersion"
|
||||
testRuntime "com.sun.mail:smtp:$mailVersion"
|
||||
testRuntime "com.sun.mail:pop3:$mailVersion"
|
||||
testRuntime "com.sun.mail:imap:$mailVersion"
|
||||
|
||||
Reference in New Issue
Block a user