activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r390423 - /incubator/activemq/trunk/assembly/src/release/conf/activemq.xml
Date Fri, 31 Mar 2006 13:59:54 GMT
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>
     



Mime
View raw message