Table of Contents
The Java broker has an in-memory message store implementation. This section will detail configuration for using the MemoryMessageStore.
Note: when using this store, the broker will store both persistent and non-persistent messages in memory, which is to say that neither will be available following a broker restart, and the ability to store new messages will be entirely constrained by the JVM heap size.
In order to use the MemoryMessageStore, you must configure it for each VirtualHost desired by updating the store element to specify the associated store class, as shown below.
Example 8.1. Configuring a VirtualHost to use the MemoryMessageStore
<virtualhosts> <virtualhost> <name>vhostname</name> <vhostname> <store> <class>org.apache.qpid.server.store.MemoryMessageStore</class </store> ... </vhostname> </virtualhost> </virtualhosts>
Apache Qpid, Messaging built on AMQP; Copyright © 2015 The Apache Software Foundation; Licensed under the Apache License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, Proton, Apache, the Apache feather logo, and the Apache Qpid project logo are trademarks of The Apache Software Foundation; All other marks mentioned may be trademarks or registered trademarks of their respective owners