Fixed NPE exception of inflight ACK because the publisher with clean=true removed all messages, also the published from message store
This commit is contained in:
@@ -227,9 +227,6 @@ class MapDBSessionsStore implements ISessionsStore {
|
||||
List<MessageGUID> guids = Utils.defaultGet(m_enqueuedStore, clientID, new ArrayList<MessageGUID>());
|
||||
guids.remove(guid);
|
||||
m_enqueuedStore.put(clientID, guids);
|
||||
m_messagesStore.decUsageCounter(guid);
|
||||
//if counter gets to 0 then remove from storage
|
||||
m_messagesStore.removeStoredMessage(guid);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user