Fuse Message Broker's default configuration includes a persistence adapter that uses a
KahaDB message store. The default configuration is suitable for many use cases, but you
will likely want to update it for individual broker instances. You do this using the
attributes of the kahaDB element.
The basic configuration tells the broker where to write the data files used by the store.
The KahaDB message store also has a number of advanced configuration attributes that customize its behavior.
The KahaDB message store is configured by placing a kahaDB
element in the persistenceAdapter element of your broker's
configuration. The kahaDB element's attributes are used to
configure the message store.
The attributes, listed in Table 2, all have reasonable
default values, so you are not required to specify values for them. However, you will want to
explicitly specify the location of the message store's data files by providing a value for the
directory attribute. This will ensure that the broker will not
conflict with other brokers.
Example 2 shows a basic configuration of the KahaDB message
store. The KahaDB files are stored under the activemq-data directory.
Example 2. Configuring the KahaDB Message Store
<broker brokerName="broker" persistent="true" ... > ... <persistenceAdapter> <kahaDB directory="activemq-data" /> </persistenceAdapter> ... </broker>
Table 2 describes the attributes that can be used to configure the KahaDB message store.
Table 2. Configuration Properties of the KahaDB Message Store








