mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-28 22:39:27 +00:00
ARTEMIS-2457 fix non-destructive ring q test
This commit is contained in:
parent
34e2f40c1c
commit
dde6862aed
@ -3514,12 +3514,9 @@ public class QueueImpl extends CriticalComponentImpl implements Queue {
|
||||
|
||||
queue.decDelivering(ref);
|
||||
if (nonDestructive && reason == AckReason.NORMAL) {
|
||||
return;
|
||||
}
|
||||
|
||||
// this is done to tell the difference between actual acks and just a closed consumer in the non-destructive use-case
|
||||
if (nonDestructive && reason == AckReason.NORMAL) {
|
||||
// this is done to tell the difference between actual acks and just a closed consumer in the non-destructive use-case
|
||||
ref.setInDelivery(false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (reason == AckReason.EXPIRED) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user