message.onSend() was not being called causing the readOnly fields to not be properly initialized.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@394142 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-04-14 17:12:59 +00:00
parent 6eaea6f336
commit 51d3c8260c
1 changed files with 3 additions and 1 deletions

View File

@ -124,7 +124,9 @@ class Send implements StompCommand {
throw new ProtocolException(headers.getProperty(Stomp.Headers.TRANSACTION) + " is an invalid transaction id");
msg.setTransactionId(tx_id);
}
msg.onSend();
return new CommandEnvelope(msg, headers);
}