ARTEMIS-2197 Page deleted before transaction finishes
Fixed regression caused by previous commit
b36dc37c15
This commit is contained in:
parent
3d1195455a
commit
2bd8fa7c5d
|
@ -132,16 +132,16 @@ public class RefsOperation extends TransactionOperationAbstract {
|
||||||
message.incrementRefCount();
|
message.incrementRefCount();
|
||||||
}
|
}
|
||||||
ackedTX.commit(true);
|
ackedTX.commit(true);
|
||||||
|
|
||||||
if (pagedMessagesToPostACK != null) {
|
|
||||||
for (MessageReference refmsg : pagedMessagesToPostACK) {
|
|
||||||
((PagedReference)refmsg).removePendingFlag();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
ActiveMQServerLogger.LOGGER.failedToProcessMessageReferenceAfterRollback(e);
|
ActiveMQServerLogger.LOGGER.failedToProcessMessageReferenceAfterRollback(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pagedMessagesToPostACK != null) {
|
||||||
|
for (MessageReference refmsg : pagedMessagesToPostACK) {
|
||||||
|
((PagedReference)refmsg).removePendingFlag();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void rollbackRedelivery(Transaction tx, MessageReference ref, long timeBase, Map<QueueImpl, LinkedList<MessageReference>> queueMap) throws Exception {
|
protected void rollbackRedelivery(Transaction tx, MessageReference ref, long timeBase, Map<QueueImpl, LinkedList<MessageReference>> queueMap) throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue