You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2017/07/11 13:26:00 UTC
[jira] [Created] (CAMEL-11532) java 8 dsl : allow to set the body
using a supplier
Luca Burgazzoli created CAMEL-11532:
---------------------------------------
Summary: 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.20.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)