Re: question about ActiveMQ, jdbcPersistenceAdapter and MasterSlave

2012-06-27 Thread Mohan Nade
Thanks Gary for the pointers. Just to share my experience on the "lockKeepAlivePeriod" - i believe this is the time for which the lock will be help, if we keep it low, then the slave gets chance to connect to DB and then at that time messages reach there, and there is no guarantee of message WRT wh

question about ActiveMQ, jdbcPersistenceAdapter and MasterSlave

2012-06-26 Thread Mohan Nade
We are using activemq in jdbc master slave configuration. extract pasted below - The messages are posted to queues and consumers are registered to these queues. MessageProducer producer = session.createProducer(destination); producer.setDeliveryMode(De