LibraryToggle FramesPrintFeedback

Persistence Layer

Default persistence layer

Since Fuse Message Broker/Apache ActiveMQ 5.4.0, the KahaDB message store is the default message store used by the persistence layer. The KahaDB message store supersedes both the AMQ message store and the original Kaha message store.

If no configuration is specified for the KahaDB message store, an instance with default settings is automatically created for you.

Example KahaDB message store configuration

The KahaDB message store can be configured explicitly using the kahaDB element inside the persistenceAdapter element, as follows:

<broker brokerName="broker" persistent="true" useShutdownHook="false">
  ...
  <persistenceAdapter>
    <kahaDB directory="activemq-data"/>
  </persistenceAdapter>
</broker>

Reference

For more details about the KahaDB message store, see Using the KahaDB Message Store in Configuring Broker Persistence.

Comments powered by Disqus