Author: ruwan
Date: Tue May 13 22:00:52 2008
New Revision: 16971

Log:
Fixing the issue ESBJAVA-468 (need to build and detach the element before 
closing the stream)

Modified:
   
trunk/esb/java/modules/core/src/main/java/org/wso2/esb/registry/WSO2RegistryAdapter.java

Modified: 
trunk/esb/java/modules/core/src/main/java/org/wso2/esb/registry/WSO2RegistryAdapter.java
==============================================================================
--- 
trunk/esb/java/modules/core/src/main/java/org/wso2/esb/registry/WSO2RegistryAdapter.java
    (original)
+++ 
trunk/esb/java/modules/core/src/main/java/org/wso2/esb/registry/WSO2RegistryAdapter.java
    Tue May 13 22:00:52 2008
@@ -142,6 +142,7 @@
 
             } finally {
                 try {
+                    result.detach();
                     inputStream.close();
                 } catch (IOException e) {
                     log.error("Error in closing the input stream.", e);

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to