Add journal-file-open-timeout attribute to the Artemis messaging server resource

In  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

Affected Projects or Components

  • Wildfly

  • ActiveMQ Artemis (finished)

Other Interested Projects

Requirements

  • The journalFileOpenTimeout parameter of ActiveMQ Artemis configuration must be configurable via Wildfly management model.

Implementation Plan

The journal-file-open-timeout attribute will be added to messaging server resource.

CLI to set the attribute:

/subsystem=messaging-activemq/server=default:write-attribute(name=journal-file-open-timeout, value=10)

Test Plan

Community Documentation

  • Covered by attribute description in management model.