activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From magellings <>
Subject Is there JDBC master/slave retry logic if database goes down?
Date Tue, 10 Mar 2009 18:15:52 GMT


Does anyone know if there is logic in activeMQ to retry connecting to a
database if JDBC master/slave is configured?  Perhaps there is some
configuration I'm missing.  Right now we log ship from the active Sql Server
database to the passive Sql Server database.  During maintenance it would be
nice to fail to the passive database without impacting the ActiveMQ broker
and requiring a restart.  When I tested I just stopped the sql server
windows service and the active ActiveMQ broker shut down requiring a manual

Current JDBC master/slave configuration snippets:

  <jdbcPersistenceAdapter dataSource="#mssql-ds"/>


<bean id="mssql-ds" class="org.apache.commons.dbcp.BasicDataSource"
  <property name="driverClassName"
  <property name="url"
  <property name="username" value="activemq"/>
  <property name="password" value="pa$$word"/>
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message