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 5B414C041 for ; Tue, 1 May 2012 05:30:05 +0000 (UTC) Received: (qmail 41331 invoked by uid 500); 1 May 2012 05:30:04 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 41287 invoked by uid 500); 1 May 2012 05:30:04 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 10836 invoked by uid 99); 30 Apr 2012 19:27:15 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,T_FRT_BELOW2,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of maisa_manoel@hotmail.com does not designate 216.139.236.26 as permitted sender) Date: Mon, 30 Apr 2012 12:26:48 -0700 (PDT) From: Purple Tea To: users@camel.apache.org Message-ID: <1335814008273-5676696.post@n5.nabble.com> Subject: Invoking a bean returned by a previous bean invocation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have a route that returns a bean, and I would like to call a method in the bean that was returned (which isn't in the registry). I've been looking at the bean binding documentation but I didn't find this scenario. Bellow is a sample code: class MyBean { MyReturnedBean getBean () { return new MyReturnedBean(); } } class MyReturnedBean { void doSomething() { } } I really appreciate your help. -- View this message in context: http://camel.465427.n5.nabble.com/Invoking-a-bean-returned-by-a-previous-bean-invocation-tp5676696.html Sent from the Camel - Users mailing list archive at Nabble.com.