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 2016/08/28 09:35:20 UTC

[jira] [Commented] (CAMEL-9547) bean - Allow use of Java8 method reference in Camel route

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

Claus Ibsen commented on CAMEL-9547:
------------------------------------

Took a quick look and its not clear if this is possible to known from java reflection etc 

> bean - Allow use of Java8 method reference in Camel route
> ---------------------------------------------------------
>
>                 Key: CAMEL-9547
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9547
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Geert Schuring
>            Priority: Minor
>             Fix For: Future
>
>
> Camel allows for a route to call a bean by pointing to a class and supplying the name of the method as a string. This does not allow IDE's to easily point out problems of the mentioned class does not have a method with that name.
> It would be very nice of we could have Camel call a certain method by supplying a Java8 method reference.
> https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)