camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-11460: Camel-Infinispan: If a Default Configuration is not provided then a DefaultCacheName must be provided
Date Tue, 27 Jun 2017 10:04:38 GMT
Repository: camel
Updated Branches:
  refs/heads/master d60397d0d -> 5f7e27664


CAMEL-11460: Camel-Infinispan: If a Default Configuration is not provided then a DefaultCacheName
must be provided


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5f7e2766
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5f7e2766
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5f7e2766

Branch: refs/heads/master
Commit: 5f7e27664440f1ede8eadd0549d00abc2e0e8145
Parents: d60397d
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Tue Jun 27 12:03:55 2017 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Tue Jun 27 12:04:23 2017 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/infinispan/InfinispanManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5f7e2766/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanManager.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanManager.java
b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanManager.java
index d98d05a..4ed5d1e 100644
--- a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanManager.java
+++ b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanManager.java
@@ -120,7 +120,7 @@ public class InfinispanManager implements Service {
                         cacheContainer = new DefaultCacheManager(is, true);
                     }
                 } else {
-                    cacheContainer = new DefaultCacheManager(true);
+                    cacheContainer = new DefaultCacheManager(new org.infinispan.configuration.cache.ConfigurationBuilder().build());
                 }
             }
 


Mime
View raw message