[
https://issues.apache.org/jira/browse/CAMEL-11532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265285#comment-16265285
]
ASF GitHub Bot commented on CAMEL-11532:
----------------------------------------
GitHub user lburgazzoli opened a pull request:
https://github.com/apache/camel/pull/2113
Revert "CAMEL-11532 Java DSL enhancement to accept supplier and function
arguments"
Reverts apache/camel#2098
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/camel revert-2098-CAMEL-11532
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2113.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 #2113
----
commit 291c546db3fa46b8e8d1a060aed3f25666d84c03
Author: Luca Burgazzoli <[email protected]>
Date: 2017-11-24T13:39:05Z
Revert "CAMEL-11532 Java DSL enhancement to accept supplier and function
arguments (#2098)"
This reverts commit 1a26e25343803e32aa88503831e843e6766ee8d9.
----
> java 8 dsl : allow to set the body using a supplier
> ----------------------------------------------------
>
> Key: CAMEL-11532
> URL: https://issues.apache.org/jira/browse/CAMEL-11532
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Luca Burgazzoli
> Assignee: Luca Burgazzoli
> Priority: Minor
> Fix For: 2.21.0
>
>
> Example:
> {code:java}
> from("timer")
> .setBody(User::new);
> from("timer")
> .trasform()
> .body(User::new);
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)