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
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue