layout: default_md title: Broker Configuration URI title-class: page-title-activemq5 type: activemq5

Using ActiveMQ > Configuring Transports > ActiveMQ Connection URIs > Broker Configuration URI

Overview

An ActiveMQ broker can be extensivly configured using a single configuration URI. The following URI schemes are supported

SchemeLinkDescription
xbean:Broker XBean URIConfigures the broker using an Xml Configuration from an XML file which is on the classpath (or in 4.2 onwards can be on the file system or an external URL) which uses Spring and xbean-spring to configure the broker
broker:Broker URIConfigures the broker explicitly using a URI syntax
properties:Broker Properties URIConfigures the broker explicitly using a URI syntax

For the most flexible and powerful option we recommend the Xml Configuration via the Broker XBean URI to configure AcitveMQ brokers.

If you are worried about jar dependencies then either the Broker URI or the Broker Properties URI are useful as they are very simple and require no dependencies on Spring or xbean-spring and don't require any XML.