mirror of https://github.com/apache/activemq.git
AMQ-6924 - Fix StoreDurableSubscriberCursor non-persistent message add
StoreDurableSubscriberCursor now properly uses a timeout value when attempting to add to the temporary store for non-persistent messages to prevent an indefinite wait on free space
This commit is contained in:
parent
0bb4a5c3ab
commit
5e2adc0ed7
|
@ -188,7 +188,7 @@ public class StoreDurableSubscriberCursor extends AbstractPendingMessageCursor {
|
||||||
Message msg = node.getMessage();
|
Message msg = node.getMessage();
|
||||||
if (isStarted()) {
|
if (isStarted()) {
|
||||||
if (!msg.isPersistent()) {
|
if (!msg.isPersistent()) {
|
||||||
nonPersistent.addMessageLast(node);
|
nonPersistent.tryAddMessageLast(node, wait);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (msg.isPersistent()) {
|
if (msg.isPersistent()) {
|
||||||
|
|
Loading…
Reference in New Issue