Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 36347 invoked from network); 4 Apr 2007 15:55:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 15:55:39 -0000 Received: (qmail 97978 invoked by uid 500); 4 Apr 2007 15:55:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 97958 invoked by uid 500); 4 Apr 2007 15:55:45 -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 97949 invoked by uid 99); 4 Apr 2007 15:55:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 08:55:45 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [159.182.31.5] (HELO ncspsmtp2.ncs.com) (159.182.31.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 08:55:38 -0700 Received: from iowacexchbrg.ic.ncs.com (Not Verified[10.25.4.190]) by ncspsmtp2.ncs.com with NetIQ MailMarshal (v5.5.6.7) id ; Wed, 04 Apr 2007 10:55:11 -0500 Received: from IOWACSRVE3WM04.NCSP.PEROOT.COM (iowacsrve3smtp2.ic.ncs.com [10.25.5.85]) by iowacexchbrg.ic.ncs.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id FQK8HAQQ; Wed, 4 Apr 2007 10:55:16 -0500 Received: from IOWACSRVE3MX04.NCSP.PEROOT.COM ([10.25.4.132]) by IOWACSRVE3WM04.NCSP.PEROOT.COM with Microsoft SMTPSVC(6.0.3790.1830); Wed, 4 Apr 2007 10:55:12 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C776D1.A120F2AC" Subject: DefaultMessageListenerContainer + not remove messages until processed Date: Wed, 4 Apr 2007 10:55:12 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DefaultMessageListenerContainer + not remove messages until processed Thread-Index: Acd20ZdrJeVfX6dvR9CCU61E1RDo0g== From: "Garner, Shawn" To: X-OriginalArrivalTime: 04 Apr 2007 15:55:12.0763 (UTC) FILETIME=[A12C5CB0:01C776D1] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C776D1.A120F2AC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I would like the message queue to keep the message until I am finished with processing and explicitly tell it the message can be removed. I'm using org.springframework.jms.listener.DefaultMessageListenerContainer to deliver the message to a POJO but it seems once the message is delivered it is out of the queue. So now if I shut down the java vm running the broker the message has already been consumed and does not get delivered when the vm is started backup again. Can somebody tell me some approaches to doing this? =20 =20 All my ActiveMQ settings, POJO consumer, POJO producer are in a spring context file loaded when the web-application starts. =20 Shawn =20 ------_=_NextPart_001_01C776D1.A120F2AC--