Repository: camel
Updated Branches:
  refs/heads/master 9b6b38c72 -> c850a5e7f


CAMEL-10221: Camel-Jcache: writeThrough option is never used


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

Branch: refs/heads/master
Commit: c850a5e7f8731147e387a1eb77ff395d75b46a63
Parents: 9b6b38c
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Thu Aug 4 14:24:06 2016 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Thu Aug 4 14:55:01 2016 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/jcache/JCacheManager.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c850a5e7/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheManager.java
----------------------------------------------------------------------
diff --git 
a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheManager.java
 
b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheManager.java
index bb86e08..b7eb90c 100644
--- 
a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheManager.java
+++ 
b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheManager.java
@@ -148,6 +148,7 @@ public class JCacheManager<K, V> implements Closeable {
         
mutableConfiguration.setStatisticsEnabled(configuration.isStatisticsEnabled());
         mutableConfiguration.setReadThrough(configuration.isReadThrough());
         mutableConfiguration.setStoreByValue(configuration.isStoreByValue());
+        mutableConfiguration.setWriteThrough(configuration.isWriteThrough());
 
         return mutableConfiguration;
     }

Reply via email to