Simple language - OGNL - Invoking explicit method with no parameters should not
cause ambiguous exception for overloaded methods
--------------------------------------------------------------------------------------------------------------------------------
Key: CAMEL-5153
URL: https://issues.apache.org/jira/browse/CAMEL-5153
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