From activemq-commits-return-493-apmail-geronimo-activemq-commits-archive=geronimo.apache.org@geronimo.apache.org Thu Feb 02 16:36:28 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 45928 invoked from network); 2 Feb 2006 16:36:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Feb 2006 16:36:25 -0000 Received: (qmail 77713 invoked by uid 500); 2 Feb 2006 16:35:49 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 77691 invoked by uid 500); 2 Feb 2006 16:35:49 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 77682 invoked by uid 99); 2 Feb 2006 16:35:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 08:35:49 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Feb 2006 08:35:33 -0800 Received: (qmail 44317 invoked by uid 65534); 2 Feb 2006 16:35:12 -0000 Message-ID: <20060202163512.44315.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r374430 [7/45] - /incubator/activemq/site/ Date: Thu, 02 Feb 2006 16:33:52 -0000 To: activemq-commits@geronimo.apache.org From: jstrachan@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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
+
+
+

+
+
+ +   +