Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8C66DD69 for ; Thu, 3 Jan 2013 04:12:16 +0000 (UTC) Received: (qmail 36835 invoked by uid 500); 3 Jan 2013 04:12:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 36595 invoked by uid 500); 3 Jan 2013 04:12:14 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 35463 invoked by uid 99); 3 Jan 2013 04:12:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 04:12:13 +0000 Date: Thu, 3 Jan 2013 04:12:13 +0000 (UTC) From: "SuoNayi (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQ-4241) ActiveMQOutputStream shoud reserve the user property only once MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SuoNayi updated AMQ-4241: ------------------------- Attachment: AMQ-4241.patch > 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 > > Attachments: AMQ-4241.patch > > 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