Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B67A49A6B for ; Tue, 8 Nov 2011 17:18:13 +0000 (UTC) Received: (qmail 82370 invoked by uid 500); 8 Nov 2011 17:18:13 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 82321 invoked by uid 500); 8 Nov 2011 17:18:13 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 82251 invoked by uid 99); 8 Nov 2011 17:18:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 17:18:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mailinglisteprm@googlemail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 17:18:06 +0000 Received: by iakk32 with SMTP id k32so1012062iak.32 for ; Tue, 08 Nov 2011 09:17:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=/vqcsAdbRCpc5DqgZBlnHAHyWjVb9Lzjnq2UlBWPlvU=; b=w+WB3rZ1BniDxj+rCh8aOt9tkQ1DXEZ0qMJ8afeLDv4uOjcs1k/Y4k5S9odGE4bJKr k0vFmgbDWgpKr/Z8iJLfaQORto4Lvr6qGyuHN+FBlOeua1pz2ET9Ffl4TssrUHYOcBso qYFRP2ucaOUCWEQyaNQhHyxqYbL0GNWInCnIU= MIME-Version: 1.0 Received: by 10.231.8.226 with SMTP id i34mr11894285ibi.38.1320772665492; Tue, 08 Nov 2011 09:17:45 -0800 (PST) Received: by 10.231.159.198 with HTTP; Tue, 8 Nov 2011 09:17:45 -0800 (PST) Date: Tue, 8 Nov 2011 18:17:45 +0100 Message-ID: Subject: Call a bean with a overloaded method From: =?ISO-8859-1?Q?Michael_Prie=DF?= To: users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello, me again. I looked on the following page http://camel.apache.org/bean-binding.html but found only a solution to call a method overloaded method from JAVA DSL. But I like to use the Camel-Spring XML way like and call the method convertAndSend(Object); but alltime the method convertAndSend(Object, Object) is called and throw me a AmbiguousMethodCallException. So how can I specify in my example the method convertAndSend(Object); The object objects are only placeholder. Cheers, Michael