svn commit r44165 - trunk/commons/caching/modules/mar/src/main/java/org/wso2/caching/handlers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit r44165 - trunk/commons/caching/modules/mar/src/main/java/org/wso2/caching/handlers

Ruwan Linton-3
Author: ruwan
Date: Tue Aug 25 23:04:30 2009
New Revision: 44165
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=44165

Log:
Fixing a caching issu


Modified:
   trunk/commons/caching/modules/mar/src/main/java/org/wso2/caching/handlers/CachingInHandler.java

Modified: trunk/commons/caching/modules/mar/src/main/java/org/wso2/caching/handlers/CachingInHandler.java
URL: http://wso2.org/svn/browse/wso2/trunk/commons/caching/modules/mar/src/main/java/org/wso2/caching/handlers/CachingInHandler.java?rev=44165&r1=44164&r2=44165&view=diff
==============================================================================
--- trunk/commons/caching/modules/mar/src/main/java/org/wso2/caching/handlers/CachingInHandler.java (original)
+++ trunk/commons/caching/modules/mar/src/main/java/org/wso2/caching/handlers/CachingInHandler.java Tue Aug 25 23:04:30 2009
@@ -74,7 +74,7 @@
         if (chCfg.getMaxMessageSize() > 0) {
             fbaos = new FixedByteArrayOutputStream(chCfg.getMaxMessageSize());
             try {
-                msgContext.getEnvelope().serializeAndConsume(fbaos);
+                msgContext.getEnvelope().serialize(fbaos);
             } catch (XMLStreamException e) {
                 handleException("Error in checking the message size", e);
             } catch (CachingException che) {

_______________________________________________
Commons-dev mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/commons-dev