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:
Robert Davies 2006-12-29 20:27:00 +00:00
parent 3d0191e29e
commit 71e44ce436
3 changed files with 9 additions and 6 deletions

View File

@ -23,7 +23,6 @@
<transportConnector uri="tcp://localhost:62001"/> <transportConnector uri="tcp://localhost:62001"/>
</transportConnectors> </transportConnectors>
</broker> </broker>
</beans> </beans>

View File

@ -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>

View File

@ -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 -->