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.

+
+
+ +   +