Durability of messages is defined by the MessagerProducer. You can explicitly configure the durability via the setDeliveryMode() method. e.g.

Note that the default is for durable messages to be used if you don't specify a delivery mode.

© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram