layout: default_md title: Configure Startup Destinations title-class: page-title-activemq5 type: activemq5

Features > Destination Features > Configure Startup Destinations

Typically in Apache ActiveMQ we create destinations on demand as clients start to use them. However sometimes users want to be able to configure which destinations are available on startup explicitly in the Xml Configuration.

4.1 Feature

Note this feature is available from 4.1 onwards. If you try this XML on older versions of ActiveMQ you will get an exception about the ‘destinations’ property not being writable.

Example

The following example shows how you can configure a number of destinations to be available at startup.