mirror of
https://github.com/apache/activemq.git
synced 2025-02-10 12:06:05 +00:00
https://issues.apache.org/jira/browse/AMQ-5454 https://issues.apache.org/jira/browse/AMQ-6070 - in the case of duplicates from the store the regiondestination was not set
(cherry picked from commit 88ec9dad9dc47790a3fc4e0f5ad939ea5530dad7)
This commit is contained in:
parent
558dcc0479
commit
c67590104b
@ -97,9 +97,9 @@ public abstract class AbstractStoreCursor extends AbstractPendingMessageCursor i
|
||||
|
||||
public synchronized boolean recoverMessage(Message message, boolean cached) throws Exception {
|
||||
boolean recovered = false;
|
||||
message.setRegionDestination(regionDestination);
|
||||
if (recordUniqueId(message.getMessageId())) {
|
||||
if (!cached) {
|
||||
message.setRegionDestination(regionDestination);
|
||||
if( message.getMemoryUsage()==null ) {
|
||||
message.setMemoryUsage(this.getSystemUsage().getMemoryUsage());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user