You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/03/05 07:10:59 UTC

[jira] Created: (CAMEL-1424) Bean component - improve method selection logic for overloaded methods

Bean component - improve method selection logic for overloaded methods
----------------------------------------------------------------------

                 Key: CAMEL-1424
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1424
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: 2.0.0


If end users have overloaded methods with different types as method parameter Camel should try to find the method with exact type match from the payload.

See nabble:
http://www.nabble.com/Is-it-possible-to-overload-a-bean-method--td22338316s22882.html


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-1424) Bean component - improve method selection logic for overloaded methods

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-1424:
-------------------------------

    Affects Version/s: 1.6.0
        Fix Version/s: 1.6.1

> Bean component - improve method selection logic for overloaded methods
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-1424
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1424
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0, 1.6.1
>
>
> If end users have overloaded methods with different types as method parameter Camel should try to find the method with exact type match from the payload.
> See nabble:
> http://www.nabble.com/Is-it-possible-to-overload-a-bean-method--td22338316s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1424) Bean component - improve method selection logic for overloaded methods

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1424.
--------------------------------

    Resolution: Fixed

2.0: 758600
1.x:  758605

> Bean component - improve method selection logic for overloaded methods
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-1424
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1424
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0, 1.6.1
>
>
> If end users have overloaded methods with different types as method parameter Camel should try to find the method with exact type match from the payload.
> See nabble:
> http://www.nabble.com/Is-it-possible-to-overload-a-bean-method--td22338316s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1424) Bean component - improve method selection logic for overloaded methods

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50773#action_50773 ] 

Claus Ibsen commented on CAMEL-1424:
------------------------------------

Reuse the logic from ExceptionPolicyStrategy that finds the best suited onException for a given thrown Exception.

> Bean component - improve method selection logic for overloaded methods
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-1424
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1424
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> If end users have overloaded methods with different types as method parameter Camel should try to find the method with exact type match from the payload.
> See nabble:
> http://www.nabble.com/Is-it-possible-to-overload-a-bean-method--td22338316s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1424) Bean component - improve method selection logic for overloaded methods

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50815#action_50815 ] 

Claus Ibsen commented on CAMEL-1424:
------------------------------------

BeanInfo have a flaw with overloaded methods. As operations only holds a key with the operation name.

> Bean component - improve method selection logic for overloaded methods
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-1424
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1424
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> If end users have overloaded methods with different types as method parameter Camel should try to find the method with exact type match from the payload.
> See nabble:
> http://www.nabble.com/Is-it-possible-to-overload-a-bean-method--td22338316s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CAMEL-1424) Bean component - improve method selection logic for overloaded methods

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50818#action_50818 ] 

Claus Ibsen edited comment on CAMEL-1424 at 3/26/09 8:49 AM:
-------------------------------------------------------------

2.0: 758600,  758692
1.x:  758605, 758700

      was (Author: davsclaus):
    2.0: 758600
1.x:  758605
  
> Bean component - improve method selection logic for overloaded methods
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-1424
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1424
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0, 1.6.1
>
>
> If end users have overloaded methods with different types as method parameter Camel should try to find the method with exact type match from the payload.
> See nabble:
> http://www.nabble.com/Is-it-possible-to-overload-a-bean-method--td22338316s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-1424) Bean component - improve method selection logic for overloaded methods

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-1424:
----------------------------------

    Assignee: Claus Ibsen

> Bean component - improve method selection logic for overloaded methods
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-1424
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1424
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> If end users have overloaded methods with different types as method parameter Camel should try to find the method with exact type match from the payload.
> See nabble:
> http://www.nabble.com/Is-it-possible-to-overload-a-bean-method--td22338316s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.