Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 12145 invoked from network); 29 Nov 2006 16:17:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2006 16:17:15 -0000 Received: (qmail 65295 invoked by uid 500); 29 Nov 2006 16:17:24 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 65264 invoked by uid 500); 29 Nov 2006 16:17:23 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 65252 invoked by uid 99); 29 Nov 2006 16:17:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 08:17:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 64.233.184.235 as permitted sender) Received: from [64.233.184.235] (HELO wr-out-0506.google.com) (64.233.184.235) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 08:17:12 -0800 Received: by wr-out-0506.google.com with SMTP id i31so90073wra for ; Wed, 29 Nov 2006 08:16:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qv29Tua04u5LBAZHG3i/nsGZSGJwfd9JKoxXuzxC7PjlTgFgL8iAlptHbotnfdZmycIV4NJ2n9XZVcdXVB3pm/a1dr7HMqydwuknhS7QGYg5j4w2nU2JoYA4bL4qHmiQtgZJjtl/axALqxa0vDLK8/Xst+VG6rdu6m49FQt051k= Received: by 10.78.171.13 with SMTP id t13mr2379563hue.1164817009768; Wed, 29 Nov 2006 08:16:49 -0800 (PST) Received: by 10.78.155.6 with HTTP; Wed, 29 Nov 2006 08:16:49 -0800 (PST) Message-ID: Date: Wed, 29 Nov 2006 16:16:49 +0000 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: redelivery confusion In-Reply-To: <7601614.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7601614.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org which versions of things are you using? On 11/29/06, MartyH wrote: > > Hi folks. > > I'm working with activemq as an internal queue in a webapp to process these > things called activities. > > I have a number of things I want to acheive. > > when a message is delivered and a runtimeexception thrown from it on > processing it, I want it to stay on the queue and be redelivered. > when a message is delivered and being processed, should the queue go down > for any reason, it will be processed on startup again. > > Basically my configuration looks like this: > > class="org.apache.activemq.pool.PooledConnectionFactory" > destroy-method="stop"> > > > ${jms.url} > > > > > class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> > name="staticField">javax.jms.DeliveryMode.PERSISTENT > > > > > > > bean="deliveryModePersistent"/> > > > > > > > > > > > > class="org.apache.activemq.ra.ActiveMQResourceAdapter"> > > > > > > > > > > > > > > > > > > > > what i'm seeing when a message throws an exception and fails to get > processed its not getting redelivered on broker restart: > > journal.JournalPersistenceAdapter 455 ) Journal Recovery Started from: > Active Journal: using 2 x 20.0 Megs at: > C:\Workspace\Projects\sppj\activemq-data\localhost\journal > (journal.JournalPersistenceAdapter 559 ) Journal Recovered: 2 message(s) > in transactions recovered. > (broker.BrokerService 372 ) ActiveMQ JMS Message Broker > (localhost, ID:BL-MHEND-XP-4004-1164812192568-1:0) started > (vm.VMTransportFactory 146 ) binding to broker: localhost > (broker.TransportConnector 208 ) Connector vm://localhost Started > > bit lost as to why this is happening... i'd have expected those 2 messages > to get redelivered? no? > > hope you can help. > > Marty > > -- > View this message in context: http://www.nabble.com/redelivery-confusion-tf2725886.html#a7601614 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/