qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r581228 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
Date Tue, 02 Oct 2007 13:21:16 GMT
Author: arnaudsimon
Date: Tue Oct  2 06:21:16 2007
New Revision: 581228

URL: http://svn.apache.org/viewvc?rev=581228&view=rev
Log:
Changed sendClose so that not to send sync on a closed session

Modified:
    incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java?rev=581228&r1=581227&r2=581228&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
Tue Oct  2 06:21:16 2007
@@ -200,8 +200,6 @@
     public void sendClose(long timeout) throws AMQException, FailoverException
     {
         getQpidSession().sessionClose();
-        // We need to sync so that we get notify of an error.
-        getQpidSession().sync();
         getCurrentException();
     }
 



Mime
View raw message