This closes #2463
This commit is contained in:
commit
c90d822fac
|
@ -132,16 +132,16 @@ public class RefsOperation extends TransactionOperationAbstract {
|
|||
message.incrementRefCount();
|
||||
}
|
||||
ackedTX.commit(true);
|
||||
|
||||
if (pagedMessagesToPostACK != null) {
|
||||
for (MessageReference refmsg : pagedMessagesToPostACK) {
|
||||
((PagedReference)refmsg).removePendingFlag();
|
||||
}
|
||||
}
|
||||
} catch (Exception 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 {
|
||||
|
|
Loading…
Reference in New Issue