activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1440366 - /activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
Date Wed, 30 Jan 2013 12:12:08 GMT
Author: gtully
Date: Wed Jan 30 12:12:07 2013
New Revision: 1440366

URL: http://svn.apache.org/viewvc?rev=1440366&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3539 - applying suggested fix, it makes sense. thanks

Modified:
    activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java

Modified: activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java?rev=1440366&r1=1440365&r2=1440366&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
(original)
+++ activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java
Wed Jan 30 12:12:07 2013
@@ -1376,7 +1376,7 @@ public class ActiveMQMessageConsumer imp
                                 if (transactedIndividualAck) {
                                     immediateIndividualTransactedAck(md);
                                 } else {
-                                    ackLater(md, MessageAck.DELIVERED_ACK_TYPE);
+                                    session.sendAck(new MessageAck(md, MessageAck.DELIVERED_ACK_TYPE,
1));
                                 }
                             }
                         }



Mime
View raw message