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.
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.
The following examples show variations in using the URI
Here is an example properties file
Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20