mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9a60743876
commit
69e5f769b2
|
@ -115,9 +115,11 @@ public class ActiveMQTextMessage extends ActiveMQMessage implements TextMessage
|
|||
os = new DeflaterOutputStream(os);
|
||||
}
|
||||
DataOutputStream dataOut = new DataOutputStream(os);
|
||||
MarshallingSupport.writeUTF8(dataOut, text);
|
||||
MarshallingSupport.writeUTF8(dataOut, this.text);
|
||||
dataOut.close();
|
||||
setContent(bytesOut.toByteSequence());
|
||||
//see https://issues.apache.org/activemq/browse/AMQ-2103
|
||||
this.text=null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue