mirror of https://github.com/apache/activemq.git
Added commented sections on how to configure things like the broker memory limit and jmx properties.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@390423 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f02ba6a53
commit
382b825aa5
|
@ -3,6 +3,18 @@
|
||||||
|
|
||||||
<broker useJmx="true">
|
<broker useJmx="true">
|
||||||
|
|
||||||
|
<!-- Use the following to set the broker memory limit (in bytes)
|
||||||
|
<memoryManager>
|
||||||
|
<usageManager id="memory-manager" limit="1048576"/>
|
||||||
|
</memoryManager>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Use the following to configure how ActiveMQ is exposed in JMX
|
||||||
|
<managementContext>
|
||||||
|
<managementContext connectorPort="1099" jmxDomainName="org.apache.activemq"/>
|
||||||
|
</managementContext>
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- In ActiveMQ 4, you can setup destination policies -->
|
<!-- In ActiveMQ 4, you can setup destination policies -->
|
||||||
<destinationPolicy>
|
<destinationPolicy>
|
||||||
<policyMap><policyEntries>
|
<policyMap><policyEntries>
|
||||||
|
@ -37,7 +49,7 @@
|
||||||
<!-- by default just auto discover the other brokers -->
|
<!-- by default just auto discover the other brokers -->
|
||||||
<networkConnector name="default" uri="multicast://default"/>
|
<networkConnector name="default" uri="multicast://default"/>
|
||||||
<!--
|
<!--
|
||||||
<networkConnector name="host1 and host2" uri="static://(tcp://host1:61616,tcp://host2:61616)"/>
|
<networkConnector name="host1 and host2" uri="static://(tcp://host1:61616,tcp://host2:61616)" failover="true"/>
|
||||||
-->
|
-->
|
||||||
</networkConnectors>
|
</networkConnectors>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue