camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
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 GMT
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 <a href="http://activemq.apache.org/camel/dsl.html">Java DSL</a> 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;
     }
 
     /**



Mime
View raw message