Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 81983 invoked from network); 28 Jun 2007 07:47:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jun 2007 07:47:55 -0000 Received: (qmail 38109 invoked by uid 500); 28 Jun 2007 07:47:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 38090 invoked by uid 500); 28 Jun 2007 07:47:57 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 38067 invoked by uid 99); 28 Jun 2007 07:47:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 00:47:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 00:47:53 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I3oiy-0000J3-Mw for users@activemq.apache.org; Thu, 28 Jun 2007 00:47:32 -0700 Message-ID: <11338542.post@talk.nabble.com> Date: Thu, 28 Jun 2007 00:47:32 -0700 (PDT) From: smo To: users@activemq.apache.org Subject: Re: KAHA messages not consumed In-Reply-To: <16274079.4451182994116253.JavaMail.root@ly.sdf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: SMOREAU@micropole-univers.com References: <11321516.post@talk.nabble.com> <16274079.4451182994116253.JavaMail.root@ly.sdf.com> X-Virus-Checked: Checked by ClamAV on apache.org OK, so the messages may have been delivered and then marked as delivered in this file. Since they are still in the persistence file, is there any way to "remove" this mark so that ActiveMQ deliver them a second time? Tom Samplonius-2 wrote: > > > ----- "smo" wrote: >> Hi! >> I have a persistent file "data-queue-data-1" that seems to contain >> messages >> (serialized JavaBean). May I assume these messages haven't been >> consumed >> yet. In that case, how to force ActiveMQ to warn clients that messages >> are >> waiting for being consumed? >> In the case they have already been consumed, why this file isn't >> empty? And >> so, how to empty this file? > > > Kaha uses a log, so you should expect new messages are appended to the > the log. So while old messages may be visible, they are probably also > marked as delivered. > > Your file layout seems strange. Normally Kaha adds messages to > "data-1", and then creates "data-2", etc. "data-1" will be deleted > sometime after it no longer contains any unconsumed messages. > > Tom > > -- View this message in context: http://www.nabble.com/KAHA-messages-not-consumed-tf3987317s2354.html#a11338542 Sent from the ActiveMQ - User mailing list archive at Nabble.com.