This commit is contained in:
Clebert Suconic 2017-04-10 12:25:58 -04:00
commit 73c79de8af
1 changed files with 3 additions and 2 deletions

View File

@ -73,8 +73,9 @@ public class PagedMessageImpl implements PagedMessage {
LargeServerMessage lgMessage = storage.createLargeMessage();
ActiveMQBuffer buffer = ActiveMQBuffers.wrappedBuffer(largeMessageLazyData);
LargeMessagePersister.getInstance().decode(buffer, lgMessage);
((LargeServerMessage) message).incrementDelayDeletionCount();
lgMessage = LargeMessagePersister.getInstance().decode(buffer, lgMessage);
lgMessage.incrementDelayDeletionCount();
lgMessage.setPaged();
this.message = lgMessage;
largeMessageLazyData = null;
}