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

[jira] [Resolved] (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 ]

Andrea Cosentino resolved CAMEL-11532.
--------------------------------------
    Resolution: Fixed

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