mirror of https://github.com/apache/activemq.git
put back using kaha as persistent adaptor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@491093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d0191e29e
commit
71e44ce436
|
@ -23,7 +23,6 @@
|
||||||
<transportConnector uri="tcp://localhost:62001"/>
|
<transportConnector uri="tcp://localhost:62001"/>
|
||||||
</transportConnectors>
|
</transportConnectors>
|
||||||
|
|
||||||
|
|
||||||
</broker>
|
</broker>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
|
|
|
@ -18,12 +18,14 @@
|
||||||
<beans>
|
<beans>
|
||||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||||
|
|
||||||
<broker brokerName="slave" persistent="false" useJmx="false" masterConnectorURI="tcp://localhost:62001" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
<broker brokerName="slave" useJmx="false" masterConnectorURI="tcp://localhost:62001" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||||
<transportConnectors>
|
<transportConnectors>
|
||||||
<transportConnector uri="tcp://localhost:62002"/>
|
<transportConnector uri="tcp://localhost:62002"/>
|
||||||
</transportConnectors>
|
</transportConnectors>
|
||||||
|
|
||||||
|
<persistenceAdapter>
|
||||||
|
<kahaPersistenceAdapter dir = "${basedir}/target/activemq-data/slave"/>
|
||||||
|
</persistenceAdapter>
|
||||||
|
|
||||||
|
|
||||||
</broker>
|
</broker>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
|
||||||
|
|
||||||
<!-- START SNIPPET: example -->
|
<!-- START SNIPPET: example -->
|
||||||
<broker brokerName="slave" persistent="false" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
<broker brokerName="slave" useJmx="false" deleteAllMessagesOnStartup="true" xmlns="http://activemq.org/config/1.0">
|
||||||
|
|
||||||
<transportConnectors>
|
<transportConnectors>
|
||||||
<transportConnector uri="tcp://localhost:62002"/>
|
<transportConnector uri="tcp://localhost:62002"/>
|
||||||
|
@ -29,7 +29,9 @@
|
||||||
<masterConnector remoteURI= "tcp://localhost:62001" userName="James" password="Cheese"/>
|
<masterConnector remoteURI= "tcp://localhost:62001" userName="James" password="Cheese"/>
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
<persistenceAdapter>
|
||||||
|
<kahaPersistenceAdapter dir = "${basedir}/target/activemq-data/slave"/>
|
||||||
|
</persistenceAdapter>
|
||||||
</broker>
|
</broker>
|
||||||
<!-- END SNIPPET: example -->
|
<!-- END SNIPPET: example -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue