Added: incubator/activemq/site/Broker+Configuration+URI URL: http://svn.apache.org/viewcvs/incubator/activemq/site/Broker%2BConfiguration%2BURI?rev=374430&view=auto ============================================================================== --- incubator/activemq/site/Broker+Configuration+URI (added) +++ incubator/activemq/site/Broker+Configuration+URI Thu Feb 2 08:31:10 2006 @@ -0,0 +1,279 @@ + + + + + + + + ActiveMQ - Broker Configuration URI + + + + + + + + + + + + + + + +
+ + + + + + +
+

Overview

+ +

Community

+ +

Using ActiveMQ

+ +

Features

+ +

Connectivitiy

+ +

Utilities

+ +

External Tools

+ +

Related Projects

+ +

Support

+ +

Developers

+ +

Tools we use

+ +

Feeds

+ + + + + + + + + +
+
+
+ Site +
+ + + News +
+
+ +
+ + + + + +
+ Broker Configuration URI + + +
+
+ + +
+
+

Overview

+

An ActiveMQ broker can be extensivly configured using a single configuration URI. We recomend that user use the Xml Configuration xml file to configure AcitveMQ brokers. The URI form of configuring broker is only useful for configuring simple broker configurations.

+

Syntax

+

The URI is assumed to be a composite uri with multiple uris that are used to bind the connectors of the broker.

+

broker:(transportURI,network:networkURI)/brokerName?brokerOptions

+

If a composite URI use the network: scheme, then the rest of the URI is bound as a network connector.

+
Broker Options
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Option NameDefault ValueDescription
useJmxfalseShould the broker be exposed to JMX?
persistenttrueShould the broker use persistent storage
populateJMSXUserIDfalseShould the broker populate the JMSXUserID property of messages
useShutdownHooktrueshould the broker install a shutdown hook so that it can properly shut itself down on a JVM kill
brokerNamelocalhostThe name of the broker
deleteAllMessagesOnStartupfalseShould all the messages in the persistent store be deleted on broker startup
+

+
Example URI
+

The following example starts up a broker accepting connections on port 61616, and establishes a network connection to remotehost:61616 and disables persistence.

+

+

+
broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&useJmx=true
+
+
+

+
+
+ +   +