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:
Hiram R. Chirino 2006-04-14 17:22:41 +00:00
parent 51d3c8260c
commit 5706bed79d
1 changed files with 3 additions and 2 deletions

View File

@ -125,7 +125,8 @@ class Send implements StompCommand {
msg.setTransactionId(tx_id);
}
msg.onSend();
msg.setReadOnlyBody(true);
msg.setReadOnlyProperties(true);
return new CommandEnvelope(msg, headers);
}