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 2013/04/14 11:26:15 UTC

[jira] [Updated] (CAMEL-6272) Bean - Improve choose method logic for no parameter methods

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

Claus Ibsen updated CAMEL-6272:
-------------------------------

          Description: 
We should optimize the logic and if a method name with no parameters has been defined, eg
{code}
.to("bean:myBean?method=foo()")
{code}

Or in ognl's such as
{code}
.when().simple("${body.foo()} != null").to("direct:foo")
{code}

Then we should optimize the logic to filter out methods with methods, as foo has been declare with no methods explicit by ().
    Affects Version/s: 2.11.0
                       2.10.0
        Fix Version/s: 2.12.0
                       2.11.1
                       2.10.5
             Assignee: Claus Ibsen
           Issue Type: Improvement  (was: Bug)
    
> Bean - Improve choose method logic for no parameter methods
> -----------------------------------------------------------
>
>                 Key: CAMEL-6272
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6272
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.0, 2.11.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.5, 2.11.1, 2.12.0
>
>
> We should optimize the logic and if a method name with no parameters has been defined, eg
> {code}
> .to("bean:myBean?method=foo()")
> {code}
> Or in ognl's such as
> {code}
> .when().simple("${body.foo()} != null").to("direct:foo")
> {code}
> Then we should optimize the logic to filter out methods with methods, as foo has been declare with no methods explicit by ().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira