This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 5656ff735da95f4ffd08e1f6d9b3166364488914
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Nov 25 17:20:14 2020 +0100

    Polishe lightweight mode INFO logging
---
 .../main/java/org/apache/camel/impl/engine/AbstractCamelContext.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
index fe18098..9983be0 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
@@ -2743,8 +2743,7 @@ public abstract class AbstractCamelContext extends 
BaseService
             bootstraps.clear();
 
             if (isLightweight()) {
-                LOG.info("Lightweight enabled. Clearing bootstrap services and 
route model to free up memory."
-                         + " Danger this impacts the CamelContext not being 
able to add new routes and anything related to camel-core-model.");
+                LOG.info("Lightweight mode enabled. Performing optimizations 
and memory reduction.");
                 ReifierStrategy.clearReifiers();
                 adapt(ExtendedCamelContext.class).disposeModel();
             }

Reply via email to