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

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

davsclaus commented on issue #2156: CAMEL-12079: Bean language: support 
bean::function notation
URL: https://github.com/apache/camel/pull/2156#issuecomment-369932198
 
 
   We need to  check for `?method=` first because there is a problem with 
checking for double colon first, as you can potentially pass in parameter 
values where its included.
   
       bean("myBean?method=blah('hello::world', 6)")
   
   Also a little bit of a 3rd party problem is that Camel tooling need to be 
aware of this and also add support for checking the double colon syntax as well 
- but that should be possible. We need to add this to the release note of this 
change.
   
   Also we need to educate Camel users that the `::` syntax is to refer to a 
method name, its not the same as the Java `::` method reference that does the 
lambda thing. I dont think in Java you can pass in parameter values as you 
would be able to do in Camel, eg
   
       bean("myBean::blah('hello::world', 6)")
   

----------------------------------------------------------------
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:
us...@infra.apache.org


> Bean language: support bean::function notation
> ----------------------------------------------
>
>                 Key: CAMEL-12079
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12079
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 2.22.0
>
>
> As today the bean language supports:
> - bean?function
> - bean.function
> it would be nice if we support also
> -  bean::function



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to