blob: dc656cd59162889ce8dc5d537e1709e502f30b27 [file] [log] [blame]
<div class="wiki-content maincontent">
<h3>Overview</h3>
<p>In ActiveMQ 4, we are using a new xml format to configure the broker.</p>
<h3>Syntax</h3>
<p>The following xsd describes the syntax of the broker configuration file.</p>
<p><link><attachment ri:filename="activemq-4.0.xsd"></attachment></link></p>
<p>And here is the reference documentation for that xsd file.</p>
<p><link><attachment ri:filename="activemq-4.0.xsd.html"></attachment></link></p>
<h3>Example</h3>
<structured-macro ac:macro-id="678b9187-119f-47cf-ada5-eb85cee61646" ac:name="code" ac:schema-version="1"><parameter ac:name="">xml</parameter><plain-text-body>
&lt;beans xmlns="http://activemq.org/config/1.0"&gt;
&lt;broker useJmx="true"&gt;
&lt;persistenceAdapter&gt;
&lt;journaledJDBC journalLogFiles="5" dataDirectory="../data"/&gt;
&lt;/persistenceAdapter&gt;
&lt;transportConnectors&gt;
&lt;transportConnector uri="discovery:tcp://localhost:61616"/&gt;
&lt;/transportConnectors&gt;
&lt;networkConnectors&gt;
&lt;networkConnector uri="multicast"/&gt;
&lt;/networkConnectors&gt;
&lt;/broker&gt;
&lt;/beans&gt;
</plain-text-body></structured-macro></div>