mirror of https://github.com/apache/activemq.git
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:
parent
6eaea6f336
commit
51d3c8260c
|
@ -124,7 +124,9 @@ class Send implements StompCommand {
|
||||||
throw new ProtocolException(headers.getProperty(Stomp.Headers.TRANSACTION) + " is an invalid transaction id");
|
throw new ProtocolException(headers.getProperty(Stomp.Headers.TRANSACTION) + " is an invalid transaction id");
|
||||||
msg.setTransactionId(tx_id);
|
msg.setTransactionId(tx_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
msg.onSend();
|
||||||
|
|
||||||
return new CommandEnvelope(msg, headers);
|
return new CommandEnvelope(msg, headers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue