Author: ningjiang
Date: Tue Dec  6 03:47:48 2011
New Revision: 1210771

URL: http://svn.apache.org/viewvc?rev=1210771&view=rev
Log:
CAMEL-4744 Improve log message when starting Camel with routes having 
autoStartup=false

Modified:
    
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java

Modified: 
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java?rev=1210771&r1=1210770&r2=1210771&view=diff
==============================================================================
--- 
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
 (original)
+++ 
camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
 Tue Dec  6 03:47:48 2011
@@ -1497,7 +1497,7 @@ public class DefaultCamelContext extends
 
         // start routes
         if (doNotStartRoutesOnFirstStart) {
-            log.info("Cannot start routes as CamelContext has been configured 
with autoStartup=false");
+            log.debug("Skip starting of routes as CamelContext has been 
configured with autoStartup=false");
         }
 
         // invoke this logic to warmup the routes and if possible also start 
the routes
@@ -1913,7 +1913,7 @@ public class DefaultCamelContext extends
             // if we are starting camel, then skip routes which are configured 
to not be auto started
             boolean autoStartup = 
routeService.getRouteDefinition().isAutoStartup(this);
             if (addingRoute && !autoStartup) {
-                log.info("Cannot start route " + routeService.getId() + " as 
its configured with autoStartup=false");
+                log.info("Skipping starting of route " + routeService.getId() 
+ " as its configured with autoStartup=false");
                 continue;
             }
 


Reply via email to