Only persistent messages are stored in the persistence store; non-persistent messages are stored in the memory store irrespective of whether a persistence store exists. Are you sure your messages have their persistence flag set to true?
Tim On Wed, Aug 10, 2016 at 4:31 AM, kthota <kiran.th...@cancer.org.uk> wrote: > activemq.xml > <http://activemq.2283324.n4.nabble.com/file/n4715304/activemq.xml> > > We have installed Active MQ in one our environments, even though we have > installed Kaha DB and set the persistence to 'True' the messages are not > being stored after activemq restart. > > Attached then Xml, can you please help and let us if we are missing > something here > > "<broker xmlns="http://activemq.apache.org/schema/core" > brokerName="externalFeed" dataDirectory="${activemq.data}" > persistent="true">" > > Thanks > Kiran > > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/Setting-up-Persistence-using-Kaha-DB-tp4715304.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >