mirror of https://github.com/apache/activemq.git
ah.. onMesage was causing the bytes messages content to be nulled.. setting the readOnly properties manually.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@394145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
51d3c8260c
commit
5706bed79d
|
@ -125,8 +125,9 @@ class Send implements StompCommand {
|
|||
msg.setTransactionId(tx_id);
|
||||
}
|
||||
|
||||
msg.onSend();
|
||||
|
||||
msg.setReadOnlyBody(true);
|
||||
msg.setReadOnlyProperties(true);
|
||||
|
||||
return new CommandEnvelope(msg, headers);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue