Make journal-file-open-timeout Attribute Configurable for Messaging Server Resource

In  console messaging

Overview

ActiveMQ Artemis stores information about messages in journal files. Journal files are append-only and are pre-created with defined fixed size. A new journal file can be created when all of the space in an existing journal is used. Eventually, when data in a given journal file are no longer needed, the file is reclaimed and reused.

Since versions 1.6.0 and 2.2.0 (see ARTEMIS-1237), Artemis allows to configure a timeout for opening journal files (previously the timeout was hardcoded to 5 seconds). This timeout needs to be configurable from Wildfly.

Issue Metadata

Dev Contacts

QE Contacts

Testing By

[x] Engineering

[ ] QE

Affected Projects or Components

  • WildFly

  • HAL

Requirements

  • Expose the new attribute journal-file-open-timeout of resource /subsystem=messaging-activemq/server=*. The new attribute will be available in "Configuration → Subsystems / Subsystem → Messaging / Category → Server / Server → default", section "Configuration", tab "Journal". "

Test Plan

Add a test which will navigate to the messaging server configuration application and make sure the attribute for the timeeout is exposed. Add another test which modifies the attribute and verifies that the changes are persisted in the management model.

Community Documentation

See the official HAL website at https://hal.github.io