LibraryLink ToToggle FramesPrintFeedback

Chapter 1. Introduction to FUSE Message Broker Persistence

Loss of messages is not acceptable in mission critical applications. FUSE Message Broker reduces the risk of message loss by using a persistent message store by default. Persistent messages are written to the persistent store when they are sent. The messages persist in the store until their delivery is confirmed. This means that in the case of a system failure, FUSE Message Broker can recover all of the undelivered messages at the time of the failure.

The default message store is embeddable and transactional. It both very fast and extremely reliable. In addition to the default message store, FUSE Message Broker offers a number of other persistent message store options. These include:

Persistence in FUSE Message Broker is controlled by a broker's XML configuration file. To change a broker's persistence behavior you modify the configuration's broker element's persistent attribute.


[Tip]Tip

By default, a broker's persistent attribute is set to true.

Example 1.1 shows a configuration snip-it for turning off a broker's message persistence.


FUSE Message Broker offers a number of different persistence mechanisms aside from the default message store. To use one of the alternative message stores, or to modify the default behavior of the default message store, you need to configure the persistence adapter. This is done by adding a persistenceAdapter element to the broker's configuration file as shown in Example 1.2.


The persistenceAdapter element has no attributes. The configuration for the persistence adapter is specified using a child element for the desired persistence adapter.