Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 11499 invoked from network); 14 Nov 2008 03:27:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2008 03:27:56 -0000 Received: (qmail 81610 invoked by uid 500); 14 Nov 2008 03:28:03 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 81573 invoked by uid 500); 14 Nov 2008 03:28: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 81562 invoked by uid 99); 14 Nov 2008 03:28:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 19:28:03 -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; Fri, 14 Nov 2008 03:26:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 67254234C286 for ; Thu, 13 Nov 2008 19:27:05 -0800 (PST) Message-ID: <288564441.1226633225406.JavaMail.jira@brutus> Date: Thu, 13 Nov 2008 19:27:05 -0800 (PST) From: "Lurga (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-2002) Handling messages with a store-based message cursor will hang producers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Handling messages with a store-based message cursor will hang producers ----------------------------------------------------------------------- Key: AMQ-2002 URL: https://issues.apache.org/activemq/browse/AMQ-2002 Project: ActiveMQ Issue Type: Bug Components: Message Store Affects Versions: 5.2.0, 5.1.0 Environment: AcitveMQ5.3-snapshot Reporter: Lurga Fix For: 5.3.0 Attachments: StoreBasedCursorTest.java When memory of the broker reaches its limit, the store-based cursor will page messages to temporary files or store them to a database ,thus the producer can send messages again. But if we set the destination policy with a low limit of memory, the producer will be hung because the store-based cursor will do nothing. I have attached a junit test case to show these diverse results. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.