You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/03/31 15:59:54 UTC

svn commit: r390423 - /incubator/activemq/trunk/assembly/src/release/conf/activemq.xml

Author: chirino
Date: Fri Mar 31 05:59:52 2006
New Revision: 390423

URL: http://svn.apache.org/viewcvs?rev=390423&view=rev
Log:
Added commented sections on how to configure things like the broker memory limit and jmx properties.

Modified:
    incubator/activemq/trunk/assembly/src/release/conf/activemq.xml

Modified: incubator/activemq/trunk/assembly/src/release/conf/activemq.xml
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/release/conf/activemq.xml?rev=390423&r1=390422&r2=390423&view=diff
==============================================================================
--- incubator/activemq/trunk/assembly/src/release/conf/activemq.xml (original)
+++ incubator/activemq/trunk/assembly/src/release/conf/activemq.xml Fri Mar 31 05:59:52 2006
@@ -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>