camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11532) java 8 dsl : allow to set the body using a supplier
Date Mon, 27 Nov 2017 11:28:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266664#comment-16266664
] 

ASF GitHub Bot commented on CAMEL-11532:
----------------------------------------

davsclaus commented on issue #2114: CAMEL-11532 Java DSL enhancement to accept supplier and
function arguments
URL: https://github.com/apache/camel/pull/2114#issuecomment-347154838
 
 
   Thanks @lburgazzoli I assume this looks good and if so we can get it merged

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

Mime
View raw message