You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2012/01/21 03:14:22 UTC

svn commit: r1234237 - in /camel/branches/camel-2.9.x: ./ camel-core/src/main/java/org/apache/camel/CamelContext.java

Author: hadrian
Date: Sat Jan 21 02:14:22 2012
New Revision: 1234237

URL: http://svn.apache.org/viewvc?rev=1234237&view=rev
Log:
Merged revisions 1232792 via svnmerge from 
https://svn.apache.org/repos/asf/camel/trunk

........
  r1232792 | davsclaus | 2012-01-18 04:02:47 -0500 (Wed, 18 Jan 2012) | 1 line
  
  Polished
........

Modified:
    camel/branches/camel-2.9.x/   (props changed)
    camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/CamelContext.java

Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/CamelContext.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/CamelContext.java?rev=1234237&r1=1234236&r2=1234237&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/CamelContext.java (original)
+++ camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/CamelContext.java Sat Jan 21 02:14:22 2012
@@ -351,7 +351,11 @@ public interface CamelContext extends Su
 
     /**
      * Adds a collection of routes to this context using the given builder
-     * to build them
+     * to build them.
+     * <p/>
+     * <b>Important:</b> The added routes will <b>only</b> be started, if {@link CamelContext}
+     * is already started. You may want to check the state of {@link CamelContext} before
+     * adding the routes, using the {@link org.apache.camel.CamelContext#getStatus()} method.
      *
      * @param builder the builder which will create the routes and add them to this context
      * @throws Exception if the routes could not be created for whatever reason