activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r413848 - /incubator/activemq/site/xml-configuration.html
Date Tue, 13 Jun 2006 10:04:30 GMT
Author: jstrachan
Date: Tue Jun 13 03:04:28 2006
New Revision: 413848

URL: http://svn.apache.org/viewvc?rev=413848&view=rev
Log:
Latest export from confluence

Modified:
    incubator/activemq/site/xml-configuration.html

Modified: incubator/activemq/site/xml-configuration.html
URL: http://svn.apache.org/viewvc/incubator/activemq/site/xml-configuration.html?rev=413848&r1=413847&r2=413848&view=diff
==============================================================================
--- incubator/activemq/site/xml-configuration.html (original)
+++ incubator/activemq/site/xml-configuration.html Tue Jun 13 03:04:28 2006
@@ -264,100 +264,7 @@
 
 <P>There are a number of <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/assembly/src/release/conf/activemq.xml"
title="Visit page outside Confluence" rel="nofollow">examples<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle"
alt="" border="0"></SUP></A></SPAN> of the XML configuration format.
Here is a <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/assembly/src/release/conf/activemq.xml"
title="Visit page outside Confluence" rel="nofollow">typical sample<SUP><IMG class="rendericon"
src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle"
alt="" border="0"></SUP></A></SPAN></P>
 
-<DIV class="code"><DIV class="codeContent">
-<PRE class="code-xml"><SPAN class="code-tag">&lt;beans&gt;</SPAN>
-  
-  <SPAN class="code-tag">&lt;broker useJmx=<SPAN class="code-quote">&quot;true&quot;</SPAN>
xmlns=<SPAN class="code-quote">&quot;http://activemq.org/config/1.0&quot;</SPAN>&gt;</SPAN>
-  
-    &lt;!--  Use the following to set the broker memory limit (in bytes)
-  	<SPAN class="code-tag">&lt;memoryManager&gt;</SPAN>  
-	  	<SPAN class="code-tag">&lt;usageManager id=<SPAN class="code-quote">&quot;memory-manager&quot;</SPAN>
limit=<SPAN class="code-quote">&quot;1048576&quot;</SPAN>/&gt;</SPAN>
-  	<SPAN class="code-tag">&lt;/memoryManager&gt;</SPAN>
-  	--&gt;
-  	
-	&lt;!-- Use the following to configure how ActiveMQ is exposed in JMX
-	<SPAN class="code-tag">&lt;managementContext&gt;</SPAN>
-	   <SPAN class="code-tag">&lt;managementContext connectorPort=<SPAN class="code-quote">&quot;1099&quot;</SPAN>
jmxDomainName=<SPAN class="code-quote">&quot;org.apache.activemq&quot;</SPAN>/&gt;</SPAN>
-	<SPAN class="code-tag">&lt;/managementContext&gt;</SPAN>
-	--&gt;
 
-	<SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- In ActiveMQ 4,
you can setup destination policies --&gt;</SPAN></SPAN>  
-    <SPAN class="code-tag">&lt;destinationPolicy&gt;</SPAN>
-      <SPAN class="code-tag">&lt;policyMap&gt;</SPAN><SPAN class="code-tag">&lt;policyEntries&gt;</SPAN>
-        
-          <SPAN class="code-tag">&lt;policyEntry topic=<SPAN class="code-quote">&quot;FOO.&gt;</SPAN>&quot;</SPAN>&gt;
-            <SPAN class="code-tag">&lt;dispatchPolicy&gt;</SPAN>
-              <SPAN class="code-tag">&lt;strictOrderDispatchPolicy /&gt;</SPAN>
-            <SPAN class="code-tag">&lt;/dispatchPolicy&gt;</SPAN>
-            <SPAN class="code-tag">&lt;subscriptionRecoveryPolicy&gt;</SPAN>
-              <SPAN class="code-tag">&lt;lastImageSubscriptionRecoveryPolicy /&gt;</SPAN>
-            <SPAN class="code-tag">&lt;/subscriptionRecoveryPolicy&gt;</SPAN>
-          <SPAN class="code-tag">&lt;/policyEntry&gt;</SPAN>
-
-      <SPAN class="code-tag">&lt;/policyEntries&gt;</SPAN><SPAN class="code-tag">&lt;/policyMap&gt;</SPAN>
-    <SPAN class="code-tag">&lt;/destinationPolicy&gt;</SPAN>
-  
-  
-    <SPAN class="code-tag">&lt;persistenceAdapter&gt;</SPAN>
-      <SPAN class="code-tag">&lt;journaledJDBC journalLogFiles=<SPAN class="code-quote">&quot;5&quot;</SPAN>
dataDirectory=<SPAN class="code-quote">&quot;../activemq-data&quot;</SPAN>/&gt;</SPAN>
-      <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- To use a
different datasource, use the following syntax : --&gt;</SPAN></SPAN>
-      &lt;!-- 
-      <SPAN class="code-tag">&lt;journaledJDBC journalLogFiles=<SPAN class="code-quote">&quot;5&quot;</SPAN>
dataDirectory=<SPAN class="code-quote">&quot;../activemq-data&quot;</SPAN>
dataSource=<SPAN class="code-quote">&quot;#postgres-ds&quot;</SPAN>/&gt;</SPAN>
-       --&gt;
-    <SPAN class="code-tag">&lt;/persistenceAdapter&gt;</SPAN>
-  
-    <SPAN class="code-tag">&lt;transportConnectors&gt;</SPAN>
-       <SPAN class="code-tag">&lt;transportConnector name=<SPAN class="code-quote">&quot;default&quot;</SPAN>
uri=<SPAN class="code-quote">&quot;tcp://localhost:61616&quot;</SPAN>
discoveryUri=<SPAN class="code-quote">&quot;multicast://default&quot;</SPAN>/&gt;</SPAN>
-       <SPAN class="code-tag">&lt;transportConnector name=<SPAN class="code-quote">&quot;stomp&quot;</SPAN>
  uri=<SPAN class="code-quote">&quot;stomp://localhost:61613&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;/transportConnectors&gt;</SPAN>
-    
-    <SPAN class="code-tag">&lt;networkConnectors&gt;</SPAN>
-      <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- by default
just auto discover the other brokers --&gt;</SPAN></SPAN>
-      <SPAN class="code-tag">&lt;networkConnector name=<SPAN class="code-quote">&quot;default&quot;</SPAN>
uri=<SPAN class="code-quote">&quot;multicast://default&quot;</SPAN>/&gt;</SPAN>
-      &lt;!--
-      <SPAN class="code-tag">&lt;networkConnector name=<SPAN class="code-quote">&quot;host1
and host2&quot;</SPAN> uri=<SPAN class="code-quote">&quot;static://(tcp://host1:61616,tcp://host2:61616)&quot;</SPAN>
failover=<SPAN class="code-quote">&quot;true&quot;</SPAN>/&gt;</SPAN>
-      --&gt;
-    <SPAN class="code-tag">&lt;/networkConnectors&gt;</SPAN>
-    
-  <SPAN class="code-tag">&lt;/broker&gt;</SPAN>
-  
-  <SPAN class="code-tag"><SPAN class="code-comment">&lt;!--  This xbean configuration
file supports all the standard spring xml configuration options --&gt;</SPAN></SPAN>
-  
-  <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- Postgres DataSource
Sample Setup --&gt;</SPAN></SPAN>
-  &lt;!-- 
-  <SPAN class="code-tag">&lt;bean id=<SPAN class="code-quote">&quot;postgres-ds&quot;</SPAN>
class=<SPAN class="code-quote">&quot;org.postgresql.ds.PGPoolingDataSource&quot;</SPAN>&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;serverName&quot;</SPAN>
value=<SPAN class="code-quote">&quot;localhost&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;databaseName&quot;</SPAN>
value=<SPAN class="code-quote">&quot;activemq&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;portNumber&quot;</SPAN>
value=<SPAN class="code-quote">&quot;0&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;user&quot;</SPAN>
value=<SPAN class="code-quote">&quot;activemq&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;password&quot;</SPAN>
value=<SPAN class="code-quote">&quot;activemq&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;dataSourceName&quot;</SPAN>
value=<SPAN class="code-quote">&quot;postgres&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;initialConnections&quot;</SPAN>
value=<SPAN class="code-quote">&quot;1&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;maxConnections&quot;</SPAN>
value=<SPAN class="code-quote">&quot;10&quot;</SPAN>/&gt;</SPAN>
-  <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
-  --&gt;
-  
-  <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- MySql DataSource
Sample Setup --&gt;</SPAN></SPAN>
-  &lt;!-- 
-  <SPAN class="code-tag">&lt;bean id=<SPAN class="code-quote">&quot;mysql-ds&quot;</SPAN>
class=<SPAN class="code-quote">&quot;org.apache.commons.dbcp.BasicDataSource&quot;</SPAN>
destroy-method=<SPAN class="code-quote">&quot;close&quot;</SPAN>&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;driverClassName&quot;</SPAN>
value=<SPAN class="code-quote">&quot;com.mysql.jdbc.Driver&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;url&quot;</SPAN>
value=<SPAN class="code-quote">&quot;jdbc:mysql://localhost/activemq?relaxAutoCommit=true&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;username&quot;</SPAN>
value=<SPAN class="code-quote">&quot;activemq&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;password&quot;</SPAN>
value=<SPAN class="code-quote">&quot;activemq&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;poolPreparedStatements&quot;</SPAN>
value=<SPAN class="code-quote">&quot;true&quot;</SPAN>/&gt;</SPAN>
-  <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
-  --&gt;  
-   
-  <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- Embedded Derby
DataSource Sample Setup --&gt;</SPAN></SPAN>
-  &lt;!-- 
-  <SPAN class="code-tag">&lt;bean id=<SPAN class="code-quote">&quot;derby-ds&quot;</SPAN>
class=<SPAN class="code-quote">&quot;org.apache.derby.jdbc.EmbeddedDataSource&quot;</SPAN>&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;databaseName&quot;</SPAN>
value=<SPAN class="code-quote">&quot;derbydb&quot;</SPAN>/&gt;</SPAN>
-    <SPAN class="code-tag">&lt;property name=<SPAN class="code-quote">&quot;createDatabase&quot;</SPAN>
value=<SPAN class="code-quote">&quot;create&quot;</SPAN>/&gt;</SPAN>
-  <SPAN class="code-tag">&lt;/bean&gt;</SPAN>
-  --&gt;  
-
-<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
-</DIV></DIV>
 
 <P>From a binary distribution, from version 1.1 onwards there is an <EM>activemq</EM>
script allowing you to run a Message Broker as a stand alone process from the command line
easily providing the $ACTIVEMQ_HOME/bin directory is on your PATH.</P>
 



Mime
View raw message