Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 47461 invoked from network); 2 Feb 2006 16:37:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Feb 2006 16:37:10 -0000 Received: (qmail 79189 invoked by uid 500); 2 Feb 2006 16:36:22 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 78638 invoked by uid 500); 2 Feb 2006 16:36:16 -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 78571 invoked by uid 99); 2 Feb 2006 16:36:15 -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:36:15 -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:44 -0800 Received: (qmail 44621 invoked by uid 65534); 2 Feb 2006 16:35:23 -0000 Message-ID: <20060202163523.44620.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r374430 [19/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/How+do+I+create+new+destinations URL: http://svn.apache.org/viewcvs/incubator/activemq/site/How%2Bdo%2BI%2Bcreate%2Bnew%2Bdestinations?rev=374430&view=auto ============================================================================== --- incubator/activemq/site/How+do+I+create+new+destinations (added) +++ incubator/activemq/site/How+do+I+create+new+destinations Thu Feb 2 08:31:10 2006 @@ -0,0 +1,230 @@ + + + + + + + + ActiveMQ - How do I create new destinations + + + + + + + + + + + + + + + +
+ + + + + + +
+

Overview

+ +

Community

+ +

Using ActiveMQ

+ +

Features

+ +

Connectivitiy

+ +

Utilities

+ +

External Tools

+ +

Related Projects

+ +

Support

+ +

Developers

+ +

Tools we use

+ +

Feeds

+ + + + + + + + + +
+
+
+ Site +
+ + + News +
+
+ +
+ + + + + +
+ How do I create new destinations + + +
+
+ + +
+
+

In ActiveMQ you do not have to create destinations up front before you can use them. Just create a destination dynamically either by

+
    +
  • calling createQueue() or createTopic() on a JMS Session
  • +
  • creating an instance of ActiveMQTopic or ActiveMQQueue and possibly registering them in JNDI
  • +
+

In addition, if you are using JNDI to lookup connection factory and destinations, you can specify which destinations you wish to create by default using the properties file. See the JNDI Support for more details.

+

The ActiveMQ broker by default auto-creates the physical queues on demand. This means that a client can create a new Queue or Topic as above and the broker will automatically create the physical destinations for you. If you need to restrict access or creation of destinations then please use a security plugin.

+
+
+ +   +