Apache ActiveMQ ™ -- Broker Configuration URI
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
Scheme
Link
Description
xbean:
Configures 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:
Configures the broker explicitly using a URI syntax
properties:
Configures 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.