diff --git a/activemq-broker/src/main/java/org/apache/activemq/store/ProxyMessageStore.java b/activemq-broker/src/main/java/org/apache/activemq/store/ProxyMessageStore.java index 901c7691d0..c9b2060b54 100755 --- a/activemq-broker/src/main/java/org/apache/activemq/store/ProxyMessageStore.java +++ b/activemq-broker/src/main/java/org/apache/activemq/store/ProxyMessageStore.java @@ -17,7 +17,6 @@ package org.apache.activemq.store; import java.io.IOException; -import java.util.concurrent.Future; import org.apache.activemq.broker.ConnectionContext; import org.apache.activemq.command.ActiveMQDestination; @@ -138,7 +137,7 @@ public class ProxyMessageStore implements MessageStore { @Override public ListenableFuture asyncAddTopicMessage(ConnectionContext context, Message message, boolean canOptimizeHint) throws IOException { - return asyncAddTopicMessage(context,message,canOptimizeHint); + return delegate.asyncAddTopicMessage(context,message,canOptimizeHint); } @Override