mirror of https://github.com/apache/activemq.git
fix for JmsDurableTopicSlowReceiveTest - we must update cursor after iterating
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982511 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6dffe4debe
commit
8cb9ef312f
|
@ -806,9 +806,9 @@ public class KahaDBStore extends MessageDatabase implements PersistenceAdapter {
|
|||
break;
|
||||
}
|
||||
}
|
||||
sd.orderIndex.stoppedIterating();
|
||||
if (entry != null) {
|
||||
MessageOrderCursor copy = sd.orderIndex.cursor.copy();
|
||||
copy.increment();
|
||||
sd.subscriptionCursors.put(subscriptionKey, copy);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue