Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 36344 invoked from network); 24 Nov 2009 13:54:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 13:54:56 -0000 Received: (qmail 93365 invoked by uid 500); 24 Nov 2009 13:54:55 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 93299 invoked by uid 500); 24 Nov 2009 13:54:55 -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 93289 invoked by uid 99); 24 Nov 2009 13:54:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 13:54:55 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 13:54:50 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NCvqf-0007pv-FH for users@camel.apache.org; Tue, 24 Nov 2009 05:54:29 -0800 Message-ID: <26496269.post@talk.nabble.com> Date: Tue, 24 Nov 2009 05:54:29 -0800 (PST) From: Kees de Kooter To: users@camel.apache.org Subject: AmbiguousMethodCallException on transactional spring bean MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kdekooter@gmail.com I have configured a spring bean as a consumer of a message queue. It contains one method, annotated @Transactional. Camel throws an AmbiguousMethodCallException. "Ambiguous method invocations possible [..] public final void com..TransactionService$$EnhancerByCGLIB$$273a5668.setPrefiltered(boolean) [..]". Apparently CGLIB adds a bunch of methods, confusing Camel. Even if I add the @Handler annotation the error is thrown. How can I fix this? -- View this message in context: http://old.nabble.com/AmbiguousMethodCallException-on-transactional-spring-bean-tp26496269p26496269.html Sent from the Camel - Users mailing list archive at Nabble.com.