synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject svn commit: r603877 - /webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java
Date Thu, 13 Dec 2007 10:51:28 GMT
Author: ruwan
Date: Thu Dec 13 02:51:27 2007
New Revision: 603877

URL: http://svn.apache.org/viewvc?rev=603877&view=rev
Log:
Fixing a timeout issue in the cache mediator

Modified:
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java?rev=603877&r1=603876&r2=603877&view=diff
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java
(original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/mediators/builtin/CacheMediator.java
Thu Dec 13 02:51:27 2007
@@ -332,6 +332,7 @@
             } else {
                 // cache exists, but has expired...
                 cachedObj.expire();
+                cachedObj.setTimeout(timeout);
                 if (traceOrDebugOn) {
                     traceOrDebug(traceOn,
                         "Existing cached response has expired. Reset cache element");



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message