qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r604939 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
Date Mon, 17 Dec 2007 17:45:09 GMT
Author: arnaudsimon
Date: Mon Dec 17 09:45:00 2007
New Revision: 604939

URL: http://svn.apache.org/viewvc?rev=604939&view=rev
Log:
Qpid-710: changed start so connection is started before messages are delivered

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

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java?rev=604939&r1=604938&r2=604939&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
Mon Dec 17 09:45:00 2007
@@ -615,6 +615,7 @@
         checkNotClosed();
         if (!_started)
         {
+            _started = true;
             final Iterator it = _sessions.entrySet().iterator();
             while (it.hasNext())
             {
@@ -629,7 +630,6 @@
                 }
             }
 
-            _started = true;
         }
     }
 



Mime
View raw message