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:
Robert Davies 2006-04-19 14:39:49 +00:00
parent cceda14262
commit 5c7f4b626b
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}