activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imagine_David <>
Subject Re: persistence problems in consumer having java exception
Date Thu, 23 Oct 2008 10:18:50 GMT

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:
Sent from the ActiveMQ - User mailing list archive at

View raw message