mirror of https://github.com/apache/activemq.git
additional fix for https://issues.apache.org/activemq/browse/AMQ-2044
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734364 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
20006a030d
commit
d89abe0322
|
@ -129,8 +129,8 @@ public abstract class PrefetchSubscription extends AbstractSubscription {
|
|||
* timeout was setup, then send the NULL message.
|
||||
*/
|
||||
final void pullTimeout(long dispatchCounterBeforePull) {
|
||||
if (dispatchCounterBeforePull == dispatchCounter) {
|
||||
synchronized (pendingLock) {
|
||||
if (dispatchCounterBeforePull == dispatchCounter) {
|
||||
try {
|
||||
add(QueueMessageReference.NULL_MESSAGE);
|
||||
dispatchPending();
|
||||
|
|
Loading…
Reference in New Issue