Am i need to use JDBCMessageStore which activemq provided to persist error message by myself when the java exception occured? if the answer is yes, how can i get the instance of JDBCMessageStore? should i config the activemq as non-persistent server? i pretty sure i shouldn't persist message by myself. but the problem below i really can't solve. looking forward the help!!!
Imagine_David wrote: > > 1. a exception occured during consuming message, but activemq did not > persist this message. which mean the messages will lose if java exception > occur. > > 2. after activemq restart, the message persisted in database will > automatic re-queue. but if this message have error again, activemq will > not persist this message. which mean the message will lose too. > > ps: I use jdbcPersistenceAdapter for persist error message in > spring+activemq environment > > -- View this message in context: http://www.nabble.com/persistence-problems-in-consumer-having-java-exception-tp20102479p20128191.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.