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:
Hiram R. Chirino 2006-03-31 13:59:52 +00:00
parent 8f02ba6a53
commit 382b825aa5
1 changed files with 14 additions and 2 deletions

View File

@ -2,6 +2,18 @@
<beans xmlns="http://activemq.org/config/1.0">
<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 -->
<destinationPolicy>
@ -36,8 +48,8 @@
<networkConnectors>
<!-- by default just auto discover the other brokers -->
<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>