spring-projects/spring-integration-extensions — pull request #108 by artembilan (2014-08-27 11:09:49+00:00)
Title: 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`