Skip to main content

Configuring Brokers

Using ActiveMQ Classic > Configuring Brokers

Overview

In ActiveMQ Classic 4, we are using a new xml format to configure the broker.

Syntax

The following xsd describes the syntax of the broker configuration file.

activemq-4.0.xsd

And here is the reference documentation for that xsd file.

activemq-4.0.xsd.html

Example

<beans xmlns="http://activemq.org/config/1.0">

<broker useJmx="true">

<persistenceAdapter>
<journaledJDBC journalLogFiles="5" dataDirectory="../data"/>
</persistenceAdapter>

<transportConnectors>
<transportConnector uri="discovery:tcp://localhost:61616"/>
</transportConnectors>

<networkConnectors>
<networkConnector uri="multicast"/>
</networkConnectors>

</broker>

</beans>