activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1153857 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageAuditNoSync.java
Date Thu, 04 Aug 2011 12:08:21 GMT
Author: gtully
Date: Thu Aug  4 12:08:21 2011
New Revision: 1153857

URL: http://svn.apache.org/viewvc?rev=1153857&view=rev
Log:
 https://issues.apache.org/jira/browse/AMQ-3383 - fix regression in org.apache.activemq.transport.failover.FailoverTransactionTest#testFailoverSendReplyLost,
: being appended to the id to match input so a get for producer id on the audit will work

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageAuditNoSync.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageAuditNoSync.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageAuditNoSync.java?rev=1153857&r1=1153856&r2=1153857&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageAuditNoSync.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageAuditNoSync.java
Thu Aug  4 12:08:21 2011
@@ -267,7 +267,7 @@ public class ActiveMQMessageAuditNoSync 
 
     public long getLastSeqId(ProducerId id) {
         long result = -1;
-        BitArrayBin bab = map.get(id.toString() + ":");
+        BitArrayBin bab = map.get(id.toString());
         if (bab != null) {
             result = bab.getLastSetIndex();
         }



Mime
View raw message