activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [29/29] activemq-artemis git commit: Fixing replication tests
Date Thu, 02 Mar 2017 15:06:03 GMT
Fixing replication tests


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/ea358aa1
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/ea358aa1
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/ea358aa1

Branch: refs/heads/artemis-1009
Commit: ea358aa12c7a0c5d739739ae2e87ddb728666434
Parents: 5acb6f5
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Wed Mar 1 16:05:17 2017 -0500
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Thu Mar 2 10:05:21 2017 -0500

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/core/message/impl/CoreMessage.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ea358aa1/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
----------------------------------------------------------------------
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
index b1bad5a..513b758 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
@@ -990,6 +990,7 @@ public class CoreMessage extends RefCountMessage {
 
    @Override
    public void persist(ActiveMQBuffer targetRecord) {
+      checkEncode();
       targetRecord.writeInt(buffer.writerIndex());
       targetRecord.writeBytes(buffer, 0, buffer.writerIndex());
    }


Mime
View raw message