[
https://issues.apache.org/jira/browse/AMQ-9741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reassigned AMQ-9741:
-----------------------------------------
Assignee: Jean-Baptiste Onofré
> networkConnector removal fails due to configMatch comparing unresolved
> variables with resolved values
> -----------------------------------------------------------------------------------------------------
>
> Key: AMQ-9741
> URL: https://issues.apache.org/jira/browse/AMQ-9741
> Project: ActiveMQ Classic
> Issue Type: Bug
> Components: Network of Brokers, Plugin
> Affects Versions: 5.x, 6.x
> Reporter: Tyler Harms
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> When removing a networkConnector via runtime configuration, the configMatch
> method compares all properties between the DTO and the existing connector.
> The DTO contains the unresolved variables and the existing connector has the
> resolved value, resulting in the comparison failure. Ultimately, this
> prevents the removal of network connectors if using dynamic values in the
> networkConnector definitions.
> Example failing network connector definition:
> {code:java}
> <networkConnectors>
> <networkConnector uri="static:(tcp://127.0.0.1:61616)"
> userName="${adminUserName}" password="${adminPassword}" duplex="false">
> </networkConnector>
> </networkConnectors>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact