mirror of
https://github.com/apache/activemq.git
synced 2025-02-08 19:15:20 +00:00
Updated to use new config scheme
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@720239 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2996cf31e8
commit
4d089f0083
@ -1,3 +1,4 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
<!--
|
<!--
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -15,38 +16,38 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<!-- START SNIPPET: example -->
|
<!-- START SNIPPET: example -->
|
||||||
<beans
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||||
xmlns="http://www.springframework.org/schema/beans"
|
xmlns:amq="http://activemq.apache.org/schema/core"
|
||||||
xmlns:amq="http://activemq.apache.org/schema/core"
|
xmlns:kdb="http://activemq.apache.org/schema/kahadb"
|
||||||
xmlns:kdb="http://activemq.apache.org/schema/kahadb"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||||
http://activ emq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
http://activ emq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
||||||
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
|
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
|
||||||
http://activemq.apache.org/schema/kahadb http://activemq.apache.org/schema/kahadb/kahadb.xsd">
|
http://activemq.apache.org/schema/kahadb http://activemq.apache.org/schema/kahadb/kahadb.xsd">
|
||||||
|
|
||||||
|
<!-- Allows us to use system properties as variables in this configuration file -->
|
||||||
<!-- Allows us to use system properties as variables in this configuration file -->
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||||
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
<property name="locations">
|
||||||
<property name="locations">
|
<value>file:///${activemq.base}/conf/credentials.properties</value>
|
||||||
<value>file:///${activemq.base}/conf/credentials.properties</value>
|
</property>
|
||||||
</property>
|
</bean>
|
||||||
</bean>
|
|
||||||
|
<kahadbReplicationBroker xmlns="http://activemq.apache.org/schema/kahadb">
|
||||||
<kahadb-replication-broker xmlns="http://activemq.apache.org/schema/kahadb">
|
<replicationService>
|
||||||
<replicationService>
|
<kahadbReplication
|
||||||
<kahadb-replication
|
directory="${activemq.base}/data/kahadb"
|
||||||
directory="${activemq.base}/data/kahadb"
|
brokerURI="xbean:ha-broker.xml"
|
||||||
brokerURI="xbean:ha-broker.xml"
|
uri="kdbr://localhost:60001"
|
||||||
uri="kdbr://localhost:60001">
|
minimumReplicas="1">
|
||||||
|
|
||||||
<cluster>
|
<cluster>
|
||||||
<zookeeper-cluster uri="zk://localhost:2181/activemq/default-ha-group" userid="activemq" password=""/>
|
<zookeeperCluster uri="zk://localhost:2181/activemq/default-ha-group" userid="activemq" password=""/>
|
||||||
</cluster>
|
</cluster>
|
||||||
|
|
||||||
</kahadb-replication>
|
</kahadbReplication>
|
||||||
</replicationService>
|
</replicationService>
|
||||||
</kahadb-replication-broker>
|
</kahadbReplicationBroker>
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
<!-- END SNIPPET: example -->
|
<!-- END SNIPPET: example -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user