You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ra...@apache.org on 2011/04/14 22:56:24 UTC

svn commit: r1092510 - /qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java

Author: rajith
Date: Thu Apr 14 20:56:23 2011
New Revision: 1092510

URL: http://svn.apache.org/viewvc?rev=1092510&view=rev
Log:
QPID-3207
Changed the value of sendClose to "true" as we need to send message-cancel if the session has not encountered any errors.

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

Modified: qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java?rev=1092510&r1=1092509&r2=1092510&view=diff
==============================================================================
--- qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java (original)
+++ qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession.java Thu Apr 14 20:56:23 2011
@@ -2461,7 +2461,7 @@ public abstract class AMQSession<C exten
             }
             else
             {
-                con.close(false);
+                con.close(true);
             }
         }
         // at this point the _consumers map will be empty



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org