You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Tyler Harms (Jira)" <ji...@apache.org> on 2025/07/14 19:03:00 UTC
[jira] [Created] (AMQ-9741) networkConnector removal fails due to configMatch comparing unresolved variables with resolved values
Tyler Harms created AMQ-9741:
--------------------------------
Summary: 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
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: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact