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>

Apache, ActiveMQ, Apache ActiveMQ, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2024, The Apache Software Foundation. Licensed under Apache License 2.0.