Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 46893 invoked from network); 24 Feb 2011 22:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 22:19:00 -0000 Received: (qmail 33429 invoked by uid 500); 24 Feb 2011 22:19:00 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 33275 invoked by uid 500); 24 Feb 2011 22:18:59 -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 33267 invoked by uid 99); 24 Feb 2011 22:18:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 22:18:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 22:18:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 80A3E1B51EB for ; Thu, 24 Feb 2011 22:18:38 +0000 (UTC) Date: Thu, 24 Feb 2011 22:18:38 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: <18511823.14662.1298585918523.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Closed: (AMQ-2218) Message delivery to consumer eventually pauses if consumer publishes to the same queue it receives from 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-2218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQ-2218. ----------------------------- Resolution: Not A Problem Test case is trigger producer flow control, see. http://activemq.apache.org/producer-flow-control.htm > Message delivery to consumer eventually pauses if consumer publishes to the same queue it receives from > ------------------------------------------------------------------------------------------------------- > > Key: AMQ-2218 > URL: https://issues.apache.org/jira/browse/AMQ-2218 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.0 > Environment: Windows XP Professional 2002, Service Pack 2, Intel Pentium D 3ghz, various 1.5 and 1.6 versions of jdk > Reporter: Jar Lyons > Fix For: 5.5.0 > > Attachments: EchoConsumerLoadTest.java > > > I have written a test case which will demonstrate the following scenarios: > 1. Simple producer driving a queue, simple consumer pulling from the queue. > 2. Simple producer driving a queue, simple consumer pulling from the queue and producing an echo of the original message into the same queue. > Expected: message delivery should not be interrupted. > Actual: in scenario 2, eventually (about 500k messages in my environment), the delivery is halted to the consumer. > Test Output: > waiting for consumer to pause ... consumer: 0, producer: 0 > waiting for consumer to pause ... consumer: 3738, producer: 29796 > waiting for consumer to pause ... consumer: 9224, producer: 67841 > waiting for consumer to pause ... consumer: 9224, producer: 67841 > waiting for consumer to pause ... consumer: 9224, producer: 67841 > waiting for consumer to pause ... consumer: 9224, producer: 67841 > waiting for consumer to pause ... consumer: 9224, producer: 67841 > waiting for consumer to pause ... consumer: 9224, producer: 67841 > waiting for consumer to pause ... consumer: 9224, producer: 67841 > waiting for consumer to pause ... consumer: 9224, producer: 67841 -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira