You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "SuoNayi (JIRA)" <ji...@apache.org> on 2013/01/02 15:14:12 UTC

[jira] [Updated] (AMQ-4241) ActiveMQOutputStream shoud reserve the user property only once

     [ https://issues.apache.org/jira/browse/AMQ-4241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

SuoNayi updated AMQ-4241:
-------------------------

    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.

  was:
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.

    
> ActiveMQOutputStream shoud reserve the user property only once
> --------------------------------------------------------------
>
>                 Key: AMQ-4241
>                 URL: https://issues.apache.org/jira/browse/AMQ-4241
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.5.1, 5.6.0, 5.7.0
>            Reporter: SuoNayi
>            Priority: Trivial
>              Labels: JMSStream
>             Fix For: 5.8.0
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira