camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r904430 - /camel/trunk/components/camel-cache/src/main/java/org/apache/camel/component/cache/CacheConfiguration.java
Date Fri, 29 Jan 2010 09:19:15 GMT
Author: davsclaus
Date: Fri Jan 29 09:19:06 2010
New Revision: 904430

URL: http://svn.apache.org/viewvc?rev=904430&view=rev
Log:
CAMEL-2420: Fixed some wrong settings.

Modified:
    camel/trunk/components/camel-cache/src/main/java/org/apache/camel/component/cache/CacheConfiguration.java

Modified: camel/trunk/components/camel-cache/src/main/java/org/apache/camel/component/cache/CacheConfiguration.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cache/src/main/java/org/apache/camel/component/cache/CacheConfiguration.java?rev=904430&r1=904429&r2=904430&view=diff
==============================================================================
--- camel/trunk/components/camel-cache/src/main/java/org/apache/camel/component/cache/CacheConfiguration.java
(original)
+++ camel/trunk/components/camel-cache/src/main/java/org/apache/camel/component/cache/CacheConfiguration.java
Fri Jan 29 09:19:06 2010
@@ -73,13 +73,13 @@
             setTimeToLiveSeconds(Long.valueOf((String) cacheSettings.get("timeToLiveSeconds")).longValue());
         }
         if (cacheSettings.containsKey("timeToIdleSeconds")) {
-            setTimeToLiveSeconds(Long.valueOf((String) cacheSettings.get("timeToIdleSeconds")).longValue());
+            setTimeToIdleSeconds(Long.valueOf((String) cacheSettings.get("timeToIdleSeconds")).longValue());
         }
         if (cacheSettings.containsKey("diskPersistent")) {
-            setEternal(Boolean.valueOf((String) cacheSettings.get("diskPersistent")));
+            setDiskPersistent(Boolean.valueOf((String) cacheSettings.get("diskPersistent")));
         }
         if (cacheSettings.containsKey("diskExpiryThreadIntervalSeconds")) {
-            setTimeToLiveSeconds(Long.valueOf((String) cacheSettings.get("diskExpiryThreadIntervalSeconds")).longValue());
+            setDiskExpiryThreadIntervalSeconds(Long.valueOf((String) cacheSettings.get("diskExpiryThreadIntervalSeconds")).longValue());
         }
         
     }



Mime
View raw message