This commit is contained in:
Clebert Suconic 2020-07-01 08:34:47 -04:00
commit 46cca8543d
1 changed files with 6 additions and 4 deletions

View File

@ -276,6 +276,7 @@ public final class XmlDataExporter extends DBOption {
for (RecordInfo info : acks) { for (RecordInfo info : acks) {
AckDescribe ack = (AckDescribe) DescribeJournal.newObjectEncoding(info, null); AckDescribe ack = (AckDescribe) DescribeJournal.newObjectEncoding(info, null);
HashMap<Long, ReferenceDescribe> referenceDescribeHashMap = messageRefs.get(info.id); HashMap<Long, ReferenceDescribe> referenceDescribeHashMap = messageRefs.get(info.id);
if (referenceDescribeHashMap != null) {
referenceDescribeHashMap.remove(ack.refEncoding.queueID); referenceDescribeHashMap.remove(ack.refEncoding.queueID);
if (referenceDescribeHashMap.size() == 0) { if (referenceDescribeHashMap.size() == 0) {
messages.remove(info.id); messages.remove(info.id);
@ -283,6 +284,7 @@ public final class XmlDataExporter extends DBOption {
} }
} }
} }
}
/** /**
* Open the bindings journal and extract all bindings data. * Open the bindings journal and extract all bindings data.