mirror of https://github.com/apache/activemq.git
fix npe in long time failing ci JournalDurableSubscriptionTest
This commit is contained in:
parent
83514ef799
commit
3ea18f4ed1
|
@ -188,8 +188,10 @@ public class JournalTopicMessageStore extends JournalMessageStore implements Top
|
|||
while (iterator.hasNext()) {
|
||||
SubscriptionKey subscriptionKey = iterator.next();
|
||||
MessageId identity = cpAckedLastAckLocations.get(subscriptionKey);
|
||||
MessageAck ack = new MessageAck();
|
||||
ack.setMessageID(identity);
|
||||
longTermStore.acknowledge(transactionTemplate.getContext(), subscriptionKey.clientId,
|
||||
subscriptionKey.subscriptionName, identity, null);
|
||||
subscriptionKey.subscriptionName, identity, ack);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue