NO-JIRA: fixing example configuration
This commit is contained in:
parent
9a60baf923
commit
5255054144
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue