qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgodf...@apache.org
Subject svn commit: r1770652 - /qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
Date Mon, 21 Nov 2016 11:26:01 GMT
Author: rgodfrey
Date: Mon Nov 21 11:26:01 2016
New Revision: 1770652

URL: http://svn.apache.org/viewvc?rev=1770652&view=rev
Log:
QPID-7514 : Unconditionally notify consumers when updating last seen pointers

Modified:
    qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java

Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java?rev=1770652&r1=1770651&r2=1770652&view=diff
==============================================================================
--- qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
(original)
+++ qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/queue/AbstractQueue.java
Mon Nov 21 11:26:01 2016
@@ -1263,11 +1263,11 @@ public abstract class AbstractQueue<X ex
             {
                 if(QueueContext._releasedUpdater.compareAndSet(subContext, oldEntry, entry))
                 {
-                    notifyConsumer(sub);
                     break;
                 }
             }
         }
+        notifyConsumer(sub);
     }
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message