Configure Startup Destinations

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.

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.