Return-Path: Delivered-To: apmail-activemq-camel-commits-archive@locus.apache.org Received: (qmail 68234 invoked from network); 21 Jan 2008 05:33:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2008 05:33:38 -0000 Received: (qmail 7026 invoked by uid 500); 21 Jan 2008 05:33:28 -0000 Delivered-To: apmail-activemq-camel-commits-archive@activemq.apache.org Received: (qmail 7006 invoked by uid 500); 21 Jan 2008 05:33:28 -0000 Mailing-List: contact camel-commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-commits@activemq.apache.org Received: (qmail 6997 invoked by uid 99); 21 Jan 2008 05:33:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Jan 2008 21:33:28 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2008 05:33:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 334441A9832; Sun, 20 Jan 2008 21:33:18 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r613764 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java Date: Mon, 21 Jan 2008 05:33:17 -0000 To: camel-commits@activemq.apache.org From: ningjiang@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080121053318.334441A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ningjiang Date: Sun Jan 20 21:33:13 2008 New Revision: 613764 URL: http://svn.apache.org/viewvc?rev=613764&view=rev Log: CAMEL-269 added the getter method for routeCollection property in RouterBuilder class Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java?rev=613764&r1=613763&r2=613764&view=diff ============================================================================== --- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java (original) +++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java Sun Jan 20 21:33:13 2008 @@ -37,9 +37,9 @@ /** * A Java DSL which is * used to build {@link Route} instances in a - * + * * @{link CamelContext} for smart routing. - * + * * @version $Revision$ */ public abstract class RouteBuilder extends BuilderSupport { @@ -86,7 +86,7 @@ /** * Installs the given error handler builder - * + * * @param errorHandlerBuilder the error handler to be used by default for * all child routes * @return the current builder with the error handler configured @@ -99,7 +99,7 @@ /** * Configures whether or not the error handler is inherited by every * processing node (or just the top most one) - * + * * @param value the flag as to whether error handlers should be inherited or * not * @return the current builder @@ -194,6 +194,10 @@ public void setRouteCollection(RoutesType routeCollection) { this.routeCollection = routeCollection; + } + + public RoutesType getRouteCollection() { + return this.routeCollection; } /**