[ 
https://issues.apache.org/jira/browse/ARTEMIS-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully updated ARTEMIS-4256:
--------------------------------
    Description: 
broker properties allow addition and modification of configuration elements 
through property key=values but don't current allow an entry to be removed.

 

When used as part of configuration reload, being able to delete is useful!

maybe a key value with some special value is the way to signal to remove that 
entry.
 
addressConfigurations.COMMANDS=-
in this case the minus char  '-' means remove the address called COMMANDS

=- seems nice, allowing the remove value to be configured by a property 
remove.value makes sense too in case - is a valid value.

 

  was:
broker properties allow addition and modification of configuration elements 
through property key=values but don't current allow an entry to be removed.

 

When used as part of configuration reload, being able to delete is useful!

maybe a key value with some special value is the way to signal to remove that 
entry.
 
addressConfigurations.COMMANDS=~~
in this case the char sequence '~~' means remove the address called COMMANDS
 
If there is any precedence on what sequence we should match to delete, lets use 
that. 
maybe it needs to be configurable.
 
maybe using the intent is more sensible.
 
addressConfigurations.COMMANDS=marked_for_removal
 
food for thought.


> properties config - support removal
> -----------------------------------
>
>                 Key: ARTEMIS-4256
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4256
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker, Configuration
>    Affects Versions: 2.28.0
>            Reporter: Gary Tully
>            Priority: Major
>
> broker properties allow addition and modification of configuration elements 
> through property key=values but don't current allow an entry to be removed.
>  
> When used as part of configuration reload, being able to delete is useful!
> maybe a key value with some special value is the way to signal to remove that 
> entry.
>  
> addressConfigurations.COMMANDS=-
> in this case the minus char  '-' means remove the address called COMMANDS
> =- seems nice, allowing the remove value to be configured by a property 
> remove.value makes sense too in case - is a valid value.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to