Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 54808 invoked from network); 17 Apr 2007 18:51:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2007 18:51:25 -0000 Received: (qmail 70868 invoked by uid 500); 17 Apr 2007 18:51:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 70856 invoked by uid 500); 17 Apr 2007 18:51:31 -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 70847 invoked by uid 99); 17 Apr 2007 18:51:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 11:51:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [159.182.31.4] (HELO ncspsmtp.ncs.com) (159.182.31.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 11:51:23 -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 ; Tue, 17 Apr 2007 10:15:55 -0500 Received: from iowacsrve3wm02.ncsp.peroot.com ([10.25.5.29]) by iowacexchbrg.ic.ncs.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 295CBWDQ; Tue, 17 Apr 2007 10:15:48 -0500 Received: from IOWACSRVE3MX04.NCSP.PEROOT.COM ([10.25.4.132]) by IOWACSRVE3WM02.NCSP.PEROOT.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Apr 2007 10:15:44 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: javax.jms.IllegalStateException: The Connection is closed Date: Tue, 17 Apr 2007 10:15:44 -0500 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: javax.jms.IllegalStateException: The Connection is closed thread-index: AceA0eitw69l449RTvqUQLsFTtrcOAAKOo2QAAIPPIA= References: From: "Garner, Shawn" To: X-OriginalArrivalTime: 17 Apr 2007 15:15:44.0934 (UTC) FILETIME=[45351460:01C78103] X-Virus-Checked: Checked by ClamAV on apache.org Alright I figured out my redeliver problem but am running into another problem. 2007-04-17 10:13:58,463 [DefaultMessageListenerContainer-26] ERROR org.springframework.jms.listener.DefaultMessageListenerContainer:handleL istenerSetupFailure:407 - Setup of JMS message listener invoker failed javax.jms.IllegalStateException: The Connection is closed at org.apache.activemq.ra.ManagedConnectionProxy.getConnection(ManagedConne ctionProxy.java:93) I'm not sure why my connection is closed. I have 5 concurrent consumers and a max of 20 pooled connections. Shawn -----Original Message----- From: Garner, Shawn [mailto:shawn.garner@vangent.com]=20 Sent: Tuesday, April 17, 2007 9:17 AM To: users@activemq.apache.org Subject: RE: question on BrokerFactoryBean Actually now it appears my messages are not being redelivered at all. I have it configured for number of redeliveries etc on the org.apache.activemq.ra.ActiveMQManagedConnectionFactory. What should I check to get it working? Shawn -----Original Message----- From: James Strachan [mailto:james.strachan@gmail.com]=20 Sent: Tuesday, April 17, 2007 4:22 AM To: users@activemq.apache.org Subject: Re: question on BrokerFactoryBean On 4/16/07, Garner, Shawn wrote: > I switch from just having a default broker created to creating one from > the activemq.xml file using BrokerFactoryBean. > > After switching I'm not sure it is behaving the same. > > Before I could specify > > > > value=3D"6000"/> > > value=3D"1"/> > > value=3D"true"/> > > > > And it would deliver any dead letters messages to the ActiveMQ.DLQ queue > after it reached the maxmimum redelivery limit. > > Now I can still see the ActiveMQ.DLQ queue is there but no messages get > put in it anymore. > > > > Do I need to adjust a policy or something else? The BrokerFactoryBean creates a BrokerService; redelivery policy is a client side thing so its configured on the ActiveMQConnectionFactory - so its got nothing to do with how you create/configure/run the broker --=20 James ------- http://radio.weblogs.com/0112098/