Now I'm getting this: 2007-04-17 11:40:31,821 [Persistence Adaptor Task] ERROR org.apache.activemq.store.journal.JournalPersistenceAdapter:doCheckpoint :395 - Failed to checkpoint a message store: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException: Not started. edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.io.IOException: Not started. Shawn -----Original Message----- From: Garner, Shawn Sent: Tuesday, April 17, 2007 10:16 AM To: 'users@activemq.apache.org' Subject: javax.jms.IllegalStateException: The Connection is closed 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] 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] 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="6000"/> > > value="1"/> > > value="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 -- James ------- http://radio.weblogs.com/0112098/