Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 89209 invoked from network); 15 Dec 2008 08:29:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 08:29:26 -0000 Received: (qmail 73294 invoked by uid 500); 15 Dec 2008 08:29:38 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 73266 invoked by uid 500); 15 Dec 2008 08:29:38 -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 73255 invoked by uid 99); 15 Dec 2008 08:29:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 00:29:38 -0800 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; Mon, 15 Dec 2008 08:29:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E880234C3D1 for ; Mon, 15 Dec 2008 00:29:05 -0800 (PST) Message-ID: <1688650250.1229329745451.JavaMail.jira@brutus> Date: Mon, 15 Dec 2008 00:29:05 -0800 (PST) From: "Danielius Jurna (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2033) Deadlock on producerWindow.waitForSpace() in ActiveMQMessageProducer In-Reply-To: <1350614210.1229329625477.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danielius Jurna updated AMQ-2033: --------------------------------- Attachment: ProducerFlowControlTest.java > Deadlock on producerWindow.waitForSpace() in ActiveMQMessageProducer > -------------------------------------------------------------------- > > Key: AMQ-2033 > URL: https://issues.apache.org/activemq/browse/AMQ-2033 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.2.0 > Reporter: Danielius Jurna > Priority: Critical > Attachments: producer.patch, ProducerFlowControlTest.java > > > It seems, that producer throttling with producerWindow enabled doesn't work at all. I'm attaching unit test for this. After sending about ~80msg producer stops and never resumes sending. > The problem is that producerWindow is not started ActiveMQMessageProducer. There must be something like this: > producerWindow.start(); > I'm also attaching patch for this bug -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.