You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/09/08 11:24:00 UTC

[jira] [Updated] (CAMEL-11532) java 8 dsl : allow to set the body using a supplier

     [ https://issues.apache.org/jira/browse/CAMEL-11532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-11532:
--------------------------------
    Fix Version/s:     (was: 2.20.0)
                   2.21.0

> 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)