servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r414292 - in /incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181: Jsr181ExchangeProcessor.java xfire/JbiChannel.java
Date Wed, 14 Jun 2006 15:30:19 GMT
Author: gnodet
Date: Wed Jun 14 08:30:18 2006
New Revision: 414292

URL: http://svn.apache.org/viewvc?rev=414292&view=rev
Log:
Fix memory leaks

Modified:
    incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java
    incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/xfire/JbiChannel.java

Modified: incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java?rev=414292&r1=414291&r2=414292&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java
(original)
+++ incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java
Wed Jun 14 08:30:18 2006
@@ -77,6 +77,7 @@
         NormalizedMessage in = exchange.getMessage("in");
         msg.setXMLStreamReader(getXMLStreamReader(in.getContent()));
         c.receive(ctx, msg);
+        c.close();
         
         // Set response or DONE status
         if (isInAndOut(exchange)) {

Modified: incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/xfire/JbiChannel.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/xfire/JbiChannel.java?rev=414292&r1=414291&r2=414292&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/xfire/JbiChannel.java
(original)
+++ incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/xfire/JbiChannel.java
Wed Jun 14 08:30:18 2006
@@ -123,9 +123,6 @@
         }
     }
 
-    public void close() {
-    }
-    
     protected Source getContent(MessageContext context, OutMessage message) throws XMLStreamException,
IOException, XFireException {
         ByteArrayOutputStream outStream = new ByteArrayOutputStream();
         XMLStreamWriter writer = outputFactory.createXMLStreamWriter(outStream, message.getEncoding());



Mime
View raw message