You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2022/10/03 12:46:00 UTC
[jira] [Closed] (ARTEMIS-3688) properties config - allow validation and reporting of misconfiguration
[ https://issues.apache.org/jira/browse/ARTEMIS-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Tully closed ARTEMIS-3688.
-------------------------------
Assignee: Gary Tully
Resolution: Duplicate
ARTEMIS-4025 provides the status json that is accessible via jmx. I don't see the use case for error causing broker to fail to start as properties can be updated and configuration reload will attempt to re apply.
> properties config - allow validation and reporting of misconfiguration
> ----------------------------------------------------------------------
>
> Key: ARTEMIS-3688
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3688
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Configuration
> Affects Versions: 2.20.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Major
>
> the properties applied via ARTEMIS-3627 get ignored if they are not correct.
> There is currently no validation.
> It would be great if there was an additional property that would control that...
> validate=error|log|ignore
> in the log case, in addition to log.info(...), having a jmx view of the map key/values that got ignored would be great.
> in the error case, I guess there is still log.error but the broker won't start, it will error out.
> This will need a rework of beanutil b/c it currently does not support feedback based on missing fields, it will happily ignore.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)