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
The following commit(s) were added to refs/heads/master by this push: new 79374e0 Polished 79374e0 is described below commit 79374e09a4d4fe07a78e56e30c2c8938e342b011 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Aug 24 12:05:14 2019 +0200 Polished --- .../org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java | 2 +- .../src/main/resources/application.properties | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java b/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java index 0834131..10f9861 100644 --- a/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java +++ b/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java @@ -57,7 +57,7 @@ public class CaffeineLRUCache<K, V> implements LRUCache<K, V>, RemovalListener<K protected final LongAdder misses = new LongAdder(); protected final LongAdder evicted = new LongAdder(); - private int maxCacheSize = 10000; + private int maxCacheSize; private final Cache<K, V> cache; private final Map<K, V> map; private final Consumer<V> evict; diff --git a/examples/camel-example-spring-boot/src/main/resources/application.properties b/examples/camel-example-spring-boot/src/main/resources/application.properties index a970973..956cb50 100644 --- a/examples/camel-example-spring-boot/src/main/resources/application.properties +++ b/examples/camel-example-spring-boot/src/main/resources/application.properties @@ -24,6 +24,9 @@ greeting = Hello World # how often to trigger the timer timer.period = 2000 +# to watch bean introspection using java reflection usage +# camel.springboot.bean-introspection-logging-level=INFO + # to automatic shutdown the JVM after a period of time #camel.springboot.duration-max-seconds=60 #camel.springboot.duration-max-messages=100