Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 96790 invoked from network); 17 Feb 2010 14:03:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 14:03:04 -0000 Received: (qmail 23634 invoked by uid 500); 17 Feb 2010 14:03:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 23553 invoked by uid 500); 17 Feb 2010 14:03:03 -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 23383 invoked by uid 99); 17 Feb 2010 14:03:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 14:03:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 14:03:01 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 519B329A0021 for ; Wed, 17 Feb 2010 06:02:40 -0800 (PST) Message-ID: <17585042.1641266415360333.JavaMail.jira@brutus.apache.org> Date: Wed, 17 Feb 2010 14:02:40 +0000 (UTC) From: "Francesco Degrassi (JIRA)" To: dev@activemq.apache.org Subject: [jira] Issue Comment Edited: (AMQ-1992) flow control doesn't work after first restart (if producer works in transacted mode with persistent messages) In-Reply-To: <1863078357.1225528985419.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57631#action_57631 ] Francesco Degrassi edited comment on AMQ-1992 at 2/17/10 2:01 PM: ------------------------------------------------------------------ We experienced this problem with ActiveMQ 5.3.0. Today it seems to be fixed in 5.3.1-SNAPSHOT. was (Author: francesco.degrassi@emaze.net): We experienced this problem with ActiveMQ 5.3.0. Today it seems to be fixed with 5.3.1-SNAPSHOT. > flow control doesn't work after first restart (if producer works in transacted mode with persistent messages) > ------------------------------------------------------------------------------------------------------------- > > Key: AMQ-1992 > URL: https://issues.apache.org/activemq/browse/AMQ-1992 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.1.0, 5.2.0 > Environment: Intel MAC OSX Java (build 1.5.0_16-b06-284) > Reporter: Viktor Matic > Fix For: 5.4.0 > > > To reproduce BUG follow instructions: > 1. Unpack fresh AMQ (versions 5.1.0, 5.2.0, 5.3.0-SNAPSHOT) > 2. Edit $AMQ_HOME/examples/ProducerTool.java turn on transacted mode and persisting messages. > (I have modified source code directly because I couldn't change this parameters through build.xml. Change is simple.) > Patch: > 78,79d77 > < transacted = true; > < > 88,89d85 > < persistent = true; > < > 3. Start AMQ $AMQ_HOME/bin/activemq > 4. Start producer $AMQ_HOME/examples/ant producer -DmessageSize=200000 > 5. Producer will block (on commit method) after approximately 27 messages (which is OK for selected message size and default max queues size 5Mb) > 6. Stop producer and AMQ in any order (CTRL-C in terminal) > 7. Start AMQ $AMQ_HOME/bin/activemq > 8. Start producer $AMQ_HOME/examples/ant producer -DmessageSize=200000 > Producer will continue to queue messages infinitely. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.