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

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

commit 6568dbc674d11db3c34c69fc7d45fd0a879f9ee2
Author: lburgazzoli <lburgazz...@gmail.com>
AuthorDate: Sat Oct 5 14:04:22 2019 +0200

    chore: re-enable caffeine as a workaround is in place in camel
---
 .../camel/quarkus/core/deployment/SubstrateProcessor.java      | 10 ----------
 1 file changed, 10 deletions(-)

diff --git 
a/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/SubstrateProcessor.java
 
b/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/SubstrateProcessor.java
index 6b0c0f6..3b20b6b 100644
--- 
a/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/SubstrateProcessor.java
+++ 
b/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/SubstrateProcessor.java
@@ -33,7 +33,6 @@ import 
io.quarkus.deployment.builditem.ApplicationArchivesBuildItem;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
 import io.quarkus.deployment.builditem.substrate.ReflectiveClassBuildItem;
 import io.quarkus.deployment.builditem.substrate.ReflectiveMethodBuildItem;
-import io.quarkus.deployment.builditem.substrate.SubstrateConfigBuildItem;
 import io.quarkus.deployment.builditem.substrate.SubstrateResourceBuildItem;
 import org.apache.camel.CamelContext;
 import org.apache.camel.Component;
@@ -84,15 +83,6 @@ class SubstrateProcessor {
         ApplicationArchivesBuildItem applicationArchivesBuildItem;
 
         @BuildStep
-        SubstrateConfigBuildItem cache() {
-            return SubstrateConfigBuildItem.builder()
-                // TODO: switch back to caffeine once 
https://github.com/apache/camel-quarkus/issues/80 gets fixed
-                .addNativeImageSystemProperty("CamelWarmUpLRUCacheFactory", 
"true")
-                .addNativeImageSystemProperty("CamelSimpleLRUCacheFactory", 
"true")
-                .build();
-        }
-
-        @BuildStep
         void process(CombinedIndexBuildItem combinedIndex) {
             IndexView view = combinedIndex.getIndex();
 

Reply via email to