mirror of https://github.com/apache/activemq.git
Merged in fix for https://issues.apache.org/activemq/browse/AMQ-718
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0@410305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fd40b91d9f
commit
5c7cf0c3c9
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
</parent>
|
||||
<artifactId>activecluster</artifactId>
|
||||
<name>ActiveCluster</name>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
</parent>
|
||||
|
||||
<groupId>incubator-activemq</groupId>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -234,10 +234,14 @@ final public class OpenWireFormat implements WireFormat {
|
|||
size += dsm.tightMarshal1(this, c, bs);
|
||||
size += bs.marshalledSize();
|
||||
|
||||
if( !sizePrefixDisabled ) {
|
||||
dataOut.writeInt(size);
|
||||
}
|
||||
|
||||
dataOut.writeByte(type);
|
||||
bs.marshal(dataOut);
|
||||
dsm.tightMarshal2(this, c, dataOut, bs);
|
||||
|
||||
} else {
|
||||
DataOutputStream looseOut = dataOut;
|
||||
ByteArrayOutputStream baos=null;
|
||||
|
@ -253,7 +257,7 @@ final public class OpenWireFormat implements WireFormat {
|
|||
if( !sizePrefixDisabled ) {
|
||||
looseOut.close();
|
||||
ByteSequence sequence = baos.toByteSequence();
|
||||
dataOut.writeInt(sequence.getLength()-4);
|
||||
dataOut.writeInt(sequence.getLength());
|
||||
dataOut.write(sequence.getData(), sequence.getOffset(), sequence.getLength());
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<parent>
|
||||
<groupId>activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>JMeter_sampler</artifactId>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>activemq-systest</artifactId>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<name>ActiveMQ</name>
|
||||
<id>activemq</id>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<currentVersion>4.0.1-SNAPSHOT</currentVersion>
|
||||
<currentVersion>4.0</currentVersion>
|
||||
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -25,7 +25,7 @@
|
|||
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>ActiveMQ</name>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<name>ActiveMQ</name>
|
||||
<id>activemq</id>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<currentVersion>4.0.1-SNAPSHOT</currentVersion>
|
||||
<currentVersion>4.0</currentVersion>
|
||||
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<parent>
|
||||
<groupId>incubator-activemq</groupId>
|
||||
<artifactId>activemq-parent</artifactId>
|
||||
<version>4.0.1-SNAPSHOT</version>
|
||||
<version>4.0</version>
|
||||
</parent>
|
||||
<groupId>org.apache.activemq.sandbox</groupId>
|
||||
<artifactId>activemq-sandbox</artifactId>
|
||||
|
|
Loading…
Reference in New Issue