GitHub user sermojohn opened a pull request:
https://github.com/apache/camel/pull/2098
CAMEL-11532 SetBody DSL to accept supplier and function arguments
Enhanced setBody DSL with new methods accepting supplier and function
argument, to align with Java 8 APIs.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sermojohn/camel CAMEL-11532
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2098.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2098
----
commit 1404328cc3420202e7d3407477b71dcd3f5b594c
Author: Ioannis Sermetziadis <[email protected]>
Date: 2017-11-19T22:05:28Z
CAMEL-11532: Enhanced setBody DSL new methods taking Supplier or Function
argument, to align with Java 8 APIs.
----
---