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 2EC9AD84D for ; Sun, 6 Jan 2013 06:02:16 +0000 (UTC) Received: (qmail 5153 invoked by uid 500); 6 Jan 2013 06:02:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 4682 invoked by uid 500); 6 Jan 2013 06:02: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 4624 invoked by uid 99); 6 Jan 2013 06:02:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2013 06:02:13 +0000 Date: Sun, 6 Jan 2013 06:02:12 +0000 (UTC) From: "SuoNayi (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (AMQ-4242) JMS Stream may lost data 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-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545319#comment-13545319 ] SuoNayi edited comment on AMQ-4242 at 1/6/13 6:01 AM: ------------------------------------------------------ I believe there are no easy solutions for this issue and it's better to clarify/warn the risk of using JMS Stream on the page[1]. Because the above proven solutions are available JMS Stream feature perhaps can be deprecated. [1]http://activemq.apache.org/jms-streams.html was (Author: wangyin): I believe there are no easy solutions for this issue and it's better to told/warn the user the risk of using JMS Stream on the page[1]. Because the above proven solutions are available JMS Stream feature perhaps can be deprecated. [1]http://activemq.apache.org/jms-streams.html > JMS Stream may lost data > ------------------------ > > Key: AMQ-4242 > URL: https://issues.apache.org/jira/browse/AMQ-4242 > Project: ActiveMQ > Issue Type: Bug > Components: JMS client > Affects Versions: 5.x > Reporter: SuoNayi > Labels: JMSStream > Attachments: AMQ4242Test.java > > > When more than 75 percent prefetch messages are delivered,the standard ack occurs. > If consumer/recipient fails after that, the rest messages will be one part of the whole. > New coming up consumer will discard the rest messages because it's expected to read sequential messages from seq 0. > From the view of the end user, the data transfered by JMS Stream is incomplete > and data is lost in this case. -- 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