commit | f99269f3e4431bdf1768c2647ccac57c2f3392aa | [log] [tgz] |
---|---|---|
author | Timothy A. Bish <tabish@apache.org> | Wed Nov 21 16:21:13 2012 +0000 |
committer | Timothy A. Bish <tabish@apache.org> | Wed Nov 21 16:21:13 2012 +0000 |
tree | 4cd8869eda1cdb696c0fbcc4720eff9292d8e8bd | |
parent | 794a3be3d83af94ef2fea5ad6420ef354372830b [diff] |
fix for: https://issues.apache.org/jira/browse/AMQCPP-441 git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.4.x@1412172 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp b/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp index fade90e..920cdfd 100644 --- a/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp +++ b/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp
@@ -798,7 +798,6 @@ } else if( isAutoAcknowledgeBatch() ) { ackLater( message, ActiveMQConstants::ACK_TYPE_CONSUMED ); } else if( session->isClientAcknowledge() || session->isIndividualAcknowledge() ) { - ackLater( message, ActiveMQConstants::ACK_TYPE_DELIVERED ); bool messageUnackedByConsumer = false;