mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@698719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc338b7e0d
commit
c6e0a61d73
|
@ -292,7 +292,6 @@ public class Queue extends BaseDestination implements Task {
|
|||
List<QueueMessageReference> list = new ArrayList<QueueMessageReference>();
|
||||
for (MessageReference ref : sub.remove(context, this)) {
|
||||
QueueMessageReference qmr = (QueueMessageReference)ref;
|
||||
qmr.incrementRedeliveryCounter();
|
||||
if( qmr.getLockOwner()==sub ) {
|
||||
qmr.unlock();
|
||||
qmr.incrementRedeliveryCounter();
|
||||
|
|
Loading…
Reference in New Issue