[
https://issues.apache.org/jira/browse/ARTEMIS-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-3187:
------------------------------------
External issue ID:
https://stackoverflow.com/questions/66644697/how-do-reset-groupfirstkey-queueconfiguration-field-to-default-value-null-via
> Add in ActiveMQServerControl updateQueue(String queueConfiguration, , boolean
> forceUpdate) method
> -------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3187
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3187
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: API
> Affects Versions: 2.17.0
> Reporter: Mikhail Lukyanov
> Priority: Major
>
> There is no way using {{ActiveMQServerControl.updateQueue(String
> queueConfiguration)}} method to reset the value of the {{String}} parameters
> of the queue (for example {{groupFirstKey}}) to their default value (i.e.
> {{null}}) if they are set.
> But it can be done it via a deprecated method {{@Deprecated String
> updateQueue(String name, String routingType, String filter, Integer
> maxConsumers, Boolean purgeOnNoConsumers, Boolean exclusive, Boolean
> groupRebalance, Integer groupBuckets, String groupFirstKey, Boolean
> nonDestructive, Integer consumersBeforeDispatch, Long delayBeforeDispatch,
> String user) throws Exception;}}.
> It would be convenient to add the {{updateQueue(String queueConfiguration, ,
> boolean forceUpdate)}} method to the {{ActiveMQServerControl}} class that
> calls {{ActiveMQServer.updateQueue(QueueConfiguration, boolean)}} to reset
> the queue parameters to default.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)