Menu Search

Chapter 10. Virtual Host Message Stores

10.1. Memory Message Store

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.

The MemoryMessageStore can be selected on Virtual Host creation via REST Management interfaces and Web Management Console. For details, see Chapter 7, Virtual Hosts.

Alternatively, the MemoryMessageStore can configured in Virtual Host configuration xml. For details, see Section 14.3, “Configuring MemoryMessageStore”.