NO-JIRA: fixing example configuration

This commit is contained in:
Andy Taylor 2016-11-25 09:33:09 +00:00 committed by Clebert Suconic
parent 9a60baf923
commit 5255054144
3 changed files with 8 additions and 2 deletions

View File

@ -26,6 +26,8 @@
<core xmlns="urn:activemq:core"> <core xmlns="urn:activemq:core">
<name>broker0</name>
<bindings-directory>./data/bindings</bindings-directory> <bindings-directory>./data/bindings</bindings-directory>
<journal-directory>./data/journal</journal-directory> <journal-directory>./data/journal</journal-directory>

View File

@ -26,6 +26,8 @@
<core xmlns="urn:activemq:core"> <core xmlns="urn:activemq:core">
<name>broker1</name>
<bindings-directory>./data/bindings</bindings-directory> <bindings-directory>./data/bindings</bindings-directory>
<journal-directory>./data/journal</journal-directory> <journal-directory>./data/journal</journal-directory>
@ -54,7 +56,7 @@
<retry-interval>500</retry-interval> <retry-interval>500</retry-interval>
<use-duplicate-detection>true</use-duplicate-detection> <use-duplicate-detection>true</use-duplicate-detection>
<message-load-balancing>STRICT</message-load-balancing> <message-load-balancing>STRICT</message-load-balancing>
<max-hops>2</max-hops> <max-hops>1</max-hops>
<static-connectors allow-direct-connections-only="true"> <static-connectors allow-direct-connections-only="true">
<connector-ref>server2-connector</connector-ref> <connector-ref>server2-connector</connector-ref>
</static-connectors> </static-connectors>

View File

@ -26,6 +26,8 @@
<core xmlns="urn:activemq:core"> <core xmlns="urn:activemq:core">
<name>broker2</name>
<bindings-directory>./data/bindings</bindings-directory> <bindings-directory>./data/bindings</bindings-directory>
<journal-directory>./data/journal</journal-directory> <journal-directory>./data/journal</journal-directory>
@ -52,7 +54,7 @@
<retry-interval>500</retry-interval> <retry-interval>500</retry-interval>
<use-duplicate-detection>true</use-duplicate-detection> <use-duplicate-detection>true</use-duplicate-detection>
<message-load-balancing>STRICT</message-load-balancing> <message-load-balancing>STRICT</message-load-balancing>
<max-hops>2</max-hops> <max-hops>0</max-hops>
</cluster-connection> </cluster-connection>
</cluster-connections> </cluster-connections>