mirror of https://github.com/apache/activemq.git
messages not getting acked
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@395254 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cceda14262
commit
5c7f4b626b
|
@ -272,7 +272,7 @@ public class Topic implements Destination {
|
|||
public void acknowledge(ConnectionContext context, Subscription sub, final MessageAck ack, final MessageReference node) throws IOException {
|
||||
if (store != null && node.isPersistent()) {
|
||||
DurableTopicSubscription dsub = (DurableTopicSubscription) sub;
|
||||
store.acknowledge(context, dsub.getClientId(), dsub.getSubscriptionName(), ack.getLastMessageId());
|
||||
store.acknowledge(context, dsub.getClientId(), dsub.getSubscriptionName(), node.getMessageId());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue