Details
Description
ActiveMQOutputStream should only reserve the properties from the end user
by the first message instead of reserving the properties by every message under the hood.
While ActiveMQInputStream can obtain those properties by the first incoming message.
By the way, the exposed call of the receive method to the end user is dangerous because
the user call on the receive method will cause the data the user received is not the
whole. The payload of the message that the call returns is lost because it's out of the
underlying stream.