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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/10 08:09:22 UTC
[jira] [Resolved] (CAMEL-5154) Simple language - OGNL - Invoking
explicit method with no parameters should not cause ambiguous exception for
overloaded methods
[ https://issues.apache.org/jira/browse/CAMEL-5154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5154.
--------------------------------
Resolution: Fixed
> Simple language - OGNL - Invoking explicit method with no parameters should not cause ambiguous exception for overloaded methods
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5154
> URL: https://issues.apache.org/jira/browse/CAMEL-5154
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.1
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.10.0, 2.9.2
>
>
> If you want to invoke a method on a bean which is overloaded, such as a String with toUpperCase having
> - toUpperCase()
> - toUpperCase(Locale)
> Then if you specify this in a simple ognl expression as follows
> {code}
> ${body.toUpperCase()}
> {code}
> Then Camel bean component should pick the no-parameter method as specified.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira