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:
[[email protected]:9990 /] /subsystem=messaging-activemq/server=default:read-resource(attributes-only=true) { "outcome" => "success", "result" => { "async-connection-execution-enabled" => true, "cluster-password" => "CHANGE ME!!", "cluster-user" => "ACTIVEMQ.CLUSTER.ADMIN.USER", "connection...