qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r593179 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer.java
Date Thu, 08 Nov 2007 14:57:15 GMT
Author: arnaudsimon
Date: Thu Nov  8 06:57:14 2007
New Revision: 593179

URL: http://svn.apache.org/viewvc?rev=593179&view=rev
Log:
cahnged for testing if the receiving thread is set before stopping it

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

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer.java?rev=593179&r1=593178&r2=593179&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer.java
Thu Nov  8 06:57:14 2007
@@ -504,7 +504,7 @@
                     }
                 }
 
-                if ((_messageListener != null) && _receiving.get())
+                if (_messageListener != null && _receiving.get() && _receivingThread
!= null)
                 {
                     if (_logger.isInfoEnabled())
                     {



Mime
View raw message