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

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

commit 3cb9bff254ddaa039b81021a07bffb4a7740a40f
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Oct 8 13:59:53 2021 +0200

    Exchange Pooling: Add information about the exchange pooling capacity while 
logging the usage of the feature
---
 .../main/java/org/apache/camel/impl/engine/AbstractCamelContext.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 1fbad34..e4ab044 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
@@ -2893,7 +2893,7 @@ public abstract class AbstractCamelContext extends 
BaseService
         bootstraps.clear();
 
         if (adapt(ExtendedCamelContext.class).getExchangeFactory().isPooled()) 
{
-            LOG.info("Pooled mode enabled. Camel pools and reuses objects to 
reduce JVM object allocations.");
+            LOG.info("Pooled mode enabled. Camel pools and reuses objects to 
reduce JVM object allocations. The pool size is: " + 
adapt(ExtendedCamelContext.class).getExchangeFactory().getCapacity() + " 
elements.");
         }
         if (isLightweight()) {
             LOG.info("Lightweight mode enabled. Performing optimizations and 
memory reduction.");

Reply via email to