We are using activemq in jdbc master slave configuration. extract pasted below -
<persistenceAdapter> <jdbcPersistenceAdapter dataSource="#mysql-ds" useDatabaseLock="true" /> </persistenceAdapter> The messages are posted to queues and consumers are registered to these queues. MessageProducer producer = session.createProducer(destination); producer.setDeliveryMode(DeliveryMode.PERSISTENT); The producer's delivery mode is set to persistent as pasted below. Some messages are expected to be delivered with delay to be able to execute them at specified time. The questions 1. the messages are not appearing in ACTIVEMQ_MSGS till they are close to the execution time. Should the messages not appear when the are "sent"? 2. Since we are looking for master slave using jdbc, the ' useDatabaseLock="true"' is set but even with a minute fluctuation in the db connection, the master fails and the control is handed over to slave. We have tried 'lockKeepAlivePeriod="0" lockAcquireSleepInterval="300000"' Is there a way to let the master wait for a defined time and then only fail? regards, Mohan -- View this message in context: http://activemq.2283324.n4.nabble.com/question-about-ActiveMQ-jdbcPersistenceAdapter-and-MasterSlave-tp4653602.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.