Configuring persistence
By configuring message persistence you gain message reliability. ActiveMQ Artemis persists its messages using its high-performance journal, which, in a Linux environment (kernel 2.6), can also benefit from using Linux's Asynchronous IO library (AIO).
The ActiveMQ Artemis journal is based on a set of files on a disk, instead of a database. Each file is pre-created and of a fixed size (configurable). Every time a message arrives, the operation is recorded, appended, on the journal. When a journal file is full, the broker automatically creates a new one.
A complete list of properties related to message persistence is as follows:
[standalone@192.168.59.104:9990 /] /subsystem=messaging-activemq/server=default:read-resource(attributes-only=true) ...
Get Mastering JBoss Enterprise Application Platform 7 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.