git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@698719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2008-09-24 20:35:36 +00:00
parent fc338b7e0d
commit c6e0a61d73
1 changed files with 0 additions and 1 deletions

View File

@ -292,7 +292,6 @@ public class Queue extends BaseDestination implements Task {
List<QueueMessageReference> list = new ArrayList<QueueMessageReference>(); List<QueueMessageReference> list = new ArrayList<QueueMessageReference>();
for (MessageReference ref : sub.remove(context, this)) { for (MessageReference ref : sub.remove(context, this)) {
QueueMessageReference qmr = (QueueMessageReference)ref; QueueMessageReference qmr = (QueueMessageReference)ref;
qmr.incrementRedeliveryCounter();
if( qmr.getLockOwner()==sub ) { if( qmr.getLockOwner()==sub ) {
qmr.unlock(); qmr.unlock();
qmr.incrementRedeliveryCounter(); qmr.incrementRedeliveryCounter();