Broker Properties URI

From version 4.2 of ActiveMQ onwards the Broker Properties URI allows you to run a configured broker by referencing a properties file which could be on the classpath, a local file or a remote URL.

Syntax

properties:name

Where name is some name which is resolved on the classpath, as a local file or a remote URL which points to the properties file used to configure the broker.

Example URI

The following examples show variations in using the URI

properties:/foo/bar.properties
properties:foo.properties
properties:http://foo.com/foo.properties

Here is an example properties file

© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram