Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 77807 invoked from network); 16 Jan 2011 08:32:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jan 2011 08:32:15 -0000 Received: (qmail 72639 invoked by uid 500); 16 Jan 2011 08:32:15 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 71301 invoked by uid 500); 16 Jan 2011 08:32:11 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 71289 invoked by uid 500); 16 Jan 2011 08:32:10 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 71286 invoked by uid 99); 16 Jan 2011 08:32:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 08:32:09 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=10.0 tests=ALL_TRUSTED,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 08:32:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0G8Vj0d017135 for ; Sun, 16 Jan 2011 08:31:46 GMT Message-ID: <27622548.392701295166705965.JavaMail.jira@thor> Date: Sun, 16 Jan 2011 03:31:45 -0500 (EST) From: =?utf-8?Q?Christian_M=C3=BCller_=28JIRA=29?= To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3311) bean parameter binding - Add support for type option to force Camel to pick method with compatible type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-3311?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1298= 2248#action_12982248 ]=20 Christian M=C3=BCller commented on CAMEL-3311: ----------------------------------------- I reverted the changes by applying the following diffs: svn diff -r 1059343:1059327 > diff_1059343_1059327.txt svn diff -r 1056749:1056745 > diff_1056749_1056745.txt and merged the conflicts by hand. I didn't reverted the String to Class Converter and its unit tests. I will implement this feature in a better solution in Camel 2.7 with [CAMEL= -3515|https://issues.apache.org/jira/browse/CAMEL-3515]. > bean parameter binding - Add support for type option to force Camel to pi= ck method with compatible type > -------------------------------------------------------------------------= ------------------------------ > > Key: CAMEL-3311 > URL: https://issues.apache.org/jira/browse/CAMEL-3311 > Project: Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 2.5.0 > Reporter: Claus Ibsen > Assignee: Christian M=C3=BCller > Priority: Minor > Fix For: 2.6.0 > > > See nabble > http://camel.465427.n5.nabble.com/Ambiguous-method-invocations-in-bean-bi= nding-tp3248536p3248536.html > We should introduce a type option so you for example can set it to {{java= .io.InputStream}} to force Camel to pick a method which this type in the me= thod signature. > This can reduce problems with ambiguous methods, when people haver overlo= aded methods. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.