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>();
|
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();
|
||||||
|
|
Loading…
Reference in New Issue