Hi All, I have the following file configured for my broker, and now I want to start up multiples using this setup (which I believe is ok for clustering), but unfortunately, this setup seems to cause the brokers and the consumers to hang after a certain amount of processing. note that the consumers are using the following to connect 'discovery:(multicast://ProactJMSService)?initialReconnectDelay=10'.
activemq.xml - <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://activemq.org/config/1.0"> <broker brokerName="O-HUGHES" useJmx="true" useShutdownHook="true" persistent="true" deleteAllMessagesOnStartup="false"> <transportConnectors> <transportConnector uri="tcp://localhost:61616" discoveryUri="multicast://ProactJMSService"/> </transportConnectors> <networkConnectors> <networkConnector uri="multicast://ProactJMSService"> name = proact_queue dynamicOnly = true <excludedDestinations> <topic physicalName=">"/> </excludedDestinations> </networkConnector> </networkConnectors> <persistenceAdapter> <jdbcPersistenceAdapter cleanupPeriod="600000" dataSource="#oracle-ds" statements="#broker-statements"> </jdbcPersistenceAdapter> </persistenceAdapter> </broker> <!-- ==================================================================== --> <!-- JDBC DataSource Configurations --> <!-- ==================================================================== --> <!-- The Datasource that will be used by the Broker --> <bean id="oracle-ds" class="net.proact.scm.sql.ProactPoolingDataSource"> <property name="url" value="jdbc:oracle:oci:@CNHDEV"/> <property name="userName" value="CNHDEV"/> <property name="password" value="CNHDEV"/> </bean> <bean id="broker-statements" class="org.apache.activemq.store.jdbc.Statements"> <property name="tablePrefix" value="BROKER_1"/> </bean> </beans> Any ideas what is wrong with this config? Regards, Osian p.s. Each broker setup has a different table prefix so that it talks to its own set of tables -- View this message in context: http://www.nabble.com/Clustering-Brokers-t1626493.html#a4406929 Sent from the ActiveMQ - User forum at Nabble.com.
