Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
- <property name="driverClassName" value="com.mysql.jdbc.ReplicationDriver"/>
- <property name="url" value="jdbc:mysql:replication://master_ip:3306,slave_ip:3306/activemq?relaxAutoCommit=true"/>
- <property name="username" value="slave"/>
- <property name="password" value="Slave@123"/>
- <property name="poolPreparedStatements" value="true"/>
- </bean>
- <!-- Allows accessing the server log -->
- <bean id="logQuery" class="io.fabric8.insight.log.log4j.Log4jLogQuery"
- lazy-init="false" scope="singleton"
- init-method="start" destroy-method="stop">
- </bean>
Add Comment
Please, Sign In to add comment