hey martin thanx for reply.. as you have mentioned in my framework i did not change the default persistent setting of message
other configurations which i am using are: <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="brokerURL" value="tcp://localhost:61616" /> </bean> this is my camel route: <route id="route_AmqJms"> <from uri="activemq:queue:testJmsQueue" /> <to uri="bean:jmsRequestHandler?method=readData" /> <to uri="activemq:queue:recieverQueue" /> </route> <route> <from uri="activemq:queue:recieverQueue" /> <to uri="bean:jmsRequestHandler?method=readDataFromQueue" /> </route> and in readData & readDataFromQueue i am just print the message body to test whether message is recieving & endpoint is working. So everything is working well except proper persistence. -- View this message in context: http://activemq.2283324.n4.nabble.com/message-clears-from-db-if-application-or-activemq-restarts-tp3491807p3494578.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.